I followed the steps listed here:
http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=7700
but for some reason my script is failing. I am stuck (for the time being) using message box debugging, since i do not have permissions to debug scripts on my machine (yet).
The script gets pasts the var row = igtbl_addNew(cbo.grid.Id, 0) line, but does not get past
row.getCell(o).SetValue("Some String");
Any and all help would be greatly appreciated
Is this the exact code that you have written? If so, there's two problems - you're using the letter "o" instead of the number "0", and you have incorrect capitalization of the setValue() function.
Does this help?
No, that was just terrible re-typing of my code, my code is on another system, so what I typed was from memory, the line you have written is the line I am using
row.getCell(0).setValue("Some String");
I got it. It was programmer error, I changed the permissions on the wrong combo. Doh
An update, it appears as if the row is NOT being added, checking in the documentation it claims that igtbl_addNew will return the row as an object if successful and null if not. Well I am being returned null. So now I am pretty sure that some properties on the Combo are not correct, but I have made sure to add the AllowAddNewDefault and AllowUpdateDefault Params to yes... so anyone have any ideas for me?
Thanks for your help,
I'll have to try again tomorrow to submit the support request, as the link from the Infragistics homepage keeps routing me to an error page
In that case, the best advice I can give is for you to submit a support request, as detailed in my previous post. We'll take a look to see if we can get it running, and if we can, we'll need to compare this to what you're running to see what's different.
Unfortunately I am not able to run the sample code attached, short of typing the sample by hand, which unfortunately I do not have time for. I know that the code I am typing is exactly the same, however I am not sure about the settings of the control itself. I am really at a loss, and without a solution in the very near future I might have to go another way with this.