posted 17 years ago
Right now I create my objects manually based on some condition... Something like this...
if (some condition)
columnModel = [{name:'order',index:'order asc', width:70, align:"center"},{name:'job',index:'job',width:300,align:'right'}]
What I want to be able to do is insert or delete from that object. Is there a way to do this? I want to be able to delete the {name:'job',index'job',width:300,align:'right'} piece if a particular condition is met and add others if other conditions are met...
Am I clear? Is this possible?
Thanks
Bryce