My application displays information in a grid. My application allows users to delete selected row(s) from the grid. I can get this to work just fine, but the selection always pops back to the first row in the grid. My code does the following (a method defined in my grid instance):

<method name="deleteSelectedItem">
        var selection = getSelection();
        selectNext();
        selection.deleteNode();
</method>

My hope was that by saving the selection and then selecting next I could delete the selected item and have the highlight be in the right place. This didn't happen, however. Can someone help me with the right way to do this?

Thanks!

--
James Howe
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to