I have an apex class which returns a list of sObject and i am creating a row to a UI only model. I want to create the row with salesforce Id which is returned from myList. How can I achieve that?
Below is my code.
$.each(myList,function(i,row){
var row1 = model.createRow({
additionalConditions: a
{ field: ‘Id’, value: row.Id},
]
});
});
Page 1 / 1
Hi Sameer, what version of Skuid are you using?
You should be able to achieve this by first creating the new rows, and then using the updateRows model api to update those rows with the Id value.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.