Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Tobias Rietz on Nov 11, 2008 03:01
open dhtmlx forum
cancel 'deleted' state DataProcessor in a grid

Hallo,

is there a way to cancel the the 'deletetd' state of
one or more rows in the dataprocessor inclusive the
reset of the strikeout style in update mode "off"?

To cancel an update exists the method dp.setUpdated(id,false) - is
there a similar function to cancel the deleted state?

Thanks in advance,
T. Rietz
Answer posted by Support on Nov 11, 2008 04:10
dp.setUpdated(id,false) will remove deleted status from the row as well, but it will not remove visual marking from deleted row
You may try to use 

dp.setUpdated(id,false) 
grid.setRowTextStyle(id,"text-decoration : none;");
Answer posted by Tobias Rietz on Nov 11, 2008 05:17
Hallo,

Thanks for your quick answer. It works how I needed.

T. Rietz