DHtmlXGrid with DHtmlXDataProcessor

Hi,



I’m using DHtmlXGrid with DHtmlXDataProcessor.



The updateMode = “row”, is supposed to update a single row when another row is selected.

This works fine only if you move between the row’s cells using “TAB”.



If you click the next cell (in the same row), the onRowSelect event is called (although the selected row is the same and is already selected ). This triggers the DHtmlXDataprocessor because it uses onRowSelect event to send the data to the server.



Is there a way to suppress rising of onRowSelect event when a cell of already selected row was clicked?

(Or perhaps it’s better to set the updateMode to “off”, handle the onBeforeSelect event of the grid and manually call sendData if necessary)



Thanks in advance.



Regards,



Atanas

The updateMode = “row”, is supposed to update a single row when another row is selected.
In such mode update will start automatically when row selection in grid changed. But it will send info about all updated elements in grid, not only about row which was selected.

>>This triggers the DHtmlXDataprocessor because it uses onRowSelect
Problem already fixed in latest build, please contact us directly at support@dhtmlx.com if you need the update ASAP

>>Is there a way to suppress rising of onRowSelect event when a cell of already selected row was clicked?
There is separate event onSelectStateChanged , which fire only when selection in grid changed , it can be used instead of onRowSelect