Unlock row using xml

Hi,

I have a locked row in the grid. Based on some action I am calling updateFromXML method to update the row data. In updatefromxml I am having the row xml
without any locked attribute but still row is locked.

Please let me know how can I unlock the row using xml if its already locked.

Thanks,
Jalpa

Unfortunately, with existing design, it does not possible to unlock the row from XML.

It can be done with minor code modification, please inform if you need details

Hi,

Thanks for the reply.
Can I have the details to fix it ? I really appreciate it.

dhtmlxgrid.js

if (r._attrs.locked) r._locked=true;

Can be replaced with

if (r._attrs.locked)
    r._locked=true;
else
    r._locked=false;

Hey…It worked…thanks a lot… :mrgreen: You are genius… :slight_smile: