Title: Datagrid updateRow Error Post by: mapner on December 13, 2017, 05:08:51 PM Hi,
I got the next code: Code: <table id="g-customers" class="easyui-datagrid" style="width:750px;height:165px" url="myurl" singleSelect="true"> In the line $('#g-vtd').datagrid('updateRow',rowIndex,{Id: "60",Name:"John"}); I get the error: Uncaught TypeError: Cannot read property 'Id' of undefined thanks for advance Title: Re: Datagrid updateRow Error Post by: jarry on December 14, 2017, 07:11:58 AM Please try this code instead.
Code: $('#g-customers').datagrid('updateRow', { Title: Re: Datagrid updateRow Error Post by: mapner on December 15, 2017, 06:30:15 PM Oh! My bad!
Thanks! |