|
Title: Disable a cell in datagrid cell editing Post by: neos on March 31, 2014, 07:25:30 PM Dear All,
I have a case with datagrid in cell editing. in my case i have two columns ( no stock and picked) with editor type checkbox. if status in cell no stock is "yes" then in cell picked cannot be edit. if status in cell no stock is "no" then in cell picked can be edit. (http://dc541.4shared.com/img/2EhISYgLce/s3/1451b1197c8/no_stock.JPG) how i use the code ? ??? Title: Re: Disable a cell in datagrid cell editing Post by: neos on April 01, 2014, 08:10:58 PM Any help ? I'm so confused ???
Title: Re: Disable a cell in datagrid cell editing Post by: stworthy on April 01, 2014, 08:48:07 PM To disable the editing on a cell, remove the 'editor' property from column options. To enable editing again, restore the 'editor' property value. The code below shows how to disable the 'editor' property for a specified field.
Code: var dg = $('#dg'); |