Title: appendRow - how to add new record to "datagrid" ? Post by: paule32 on January 15, 2022, 01:25:29 AM Hello,
how the topic say's: "How to add new record to "datagrid" ? I have this little function (code below), I have static code, to init. fill the datagrid (columns, data properties are set, and then datagrid is shown without error's). Then I open a dialog, press save button, that calls saveUser. The "alert" box in the middle is shown, and display the right message/value from the form's input value. But future more at code, it would be add a empty record. So, the question is: "How to add data to the new record ?" For assistance, and helping hands, are welcome. Thank You ver much... Here is the code, that I have so far away... Code: function saveUser(dg) Title: Re: appendRow - how to add new record to "datagrid" ? Post by: paule32 on January 15, 2022, 03:38:30 PM this Question forms to my (later) Bug Report, today.
Title: Re: appendRow - how to add new record to "datagrid" ? Post by: jarry on January 16, 2022, 07:40:06 PM Please call this code instead.
Code: $("#dg" + dg).datagrid('appendRow',{ |