3.2.0

Problems with sorting

Hi

I'm evaluating the Grid widget and is very impressed so far. However I'm having a hard time getting things to work after sorting. For example a
a function like this works as expected before sorting, but will not work after a sort.

function deleteRow() {
var selected = grid.getProperty("selection/index");
deletedRow = myData.splice(selected, 1);
update();
}

------
Error: 'myData[...]' is null or not an object.
------

I have tried Sudhaker's examples as well and the problem is the same:
http://thej2ee.com/awdemo/examples/myexamples/add_edit_delete_rows.html

Does anyone have a solution for this?

/Best regards
Magnus Stattin
December 26,

This topic is archived.

See also:


Back to support forum