TheChampp
TheChampp

Reputation: 1437

JQGrid Delete Row Does Not Work

I am using jqgrid. When I want to delete row I am writing in console $('#grid').jqGrid('delGridRow', 1);. But this does not work it returns false as result. Did I missed something ?

Upvotes: 0

Views: 211

Answers (1)

Oleg
Oleg

Reputation: 221997

It means that the grid have no row with the rowid 1: no <tr id="1">...</tr> element. Either you don't filled the data of the row correctly (the data have to contains the values of id attribute) or you just mix the terminology of rowIndex with the rowid.

Upvotes: 1

Related Questions