You need to sign in to do that
Don't have an account?
Vasavi Vajinepalli
Dynamically add/remove rows for sObject types
How to add/remove rows dynamically for sObject types in visualforce page? Please give some working examples.
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
You could look at this example : http://forceschool.blogspot.in/2011/06/dynamic-binding-when-object-name-is.html
Thanks
Shashikant
Am also doing the same in my VF page. But am not able to add a empty row for sObject. Can you please let me know how to add a row with no values for sObject (by not hardcoding the sObject as Account or anything).
Thanks
Shashikant
String objectName = 'Some value';
Schema.SObjectType t = Schema.getGlobalDescribe().get(objectName);
SObject sObj = t.newSObject();
List<sObject> sObjLst1.add(sObj);
Thanks,
Vasavi