Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
WebDataGrid 10.3.20103.1013 Add row using javascript
posted

Hi All,

I am trying to add a new row to the grid using javascript using the following:

 

 var cust = { "iRowIndex": rowCount, "CustLName":"Cruise","nvchType":"The type"};

 grid.get_rows().add(cust);

 

I get an error saying Invalid Cast Exception: Unable to convert from Dictionary.

I am using v10.3.20103.1013

Any help would be appreciated.

Thanks in advance

 

PS- I have already tried searching the forums for solutions.

Parents Reply Children
No Data