dataprocessor always send data

Hi,

I’m using the dataprocessor , and when ever i change a row or a cell inside my
grid the data is sent to my servlet , but the problem is that i want to call the servlet
even if there is no change in my grid.

how can i do this?

Thanks.

Is there a way to call the servlet with the data inside the grid even if it didn’t change?

You should mark row as changed manually:

dp.setUpdated(id,true);

docs.dhtmlx.com/doku.php?id=dhtm … mmon_tasks

can I use the “dp.setUpdated(id,true);” but without seeing it as an updated row?
(so that the row wont be marked).

also, is there a way to call the dataprocessor without the grid data?

Thanks.

can I use the “dp.setUpdated(id,true);” but without seeing it as an updated row?
You can’t , but you can redefine styles , which dataprocessor uses ( dp.styles hash ) - so marking will not change any visual parameters of rendering

is there a way to call the dataprocessor without the grid data?
nope, you can’t use dp without master object

o.k … thanks…

another question,

if i want to send all of the grid’s rows, the only way is to manually update all the rows? is there another way to send all of those rows?

Thanks.

You can update all rows, or call dp.setUpdated(id,true); for all rows in the grid.