Apr 24, 2015, 7:04 AM
[CLOSED] Conditionally disable editing on ComponentColumn() Editor
I want to disable editing conditionally. I tried following, but it did not worked. Can you please guide me ....
X.ComponentColumn().Editor(true).Text("Amount").Listeners(ls=>ls.Edit.Fn="TotalAfterFeeHeadGridEdit").DataIndex("Amount").Component(X.NumberField().MinValue(0))
JavaScript function as follows - var TotalAfterFeeHeadGridEdit = function ()
{
if (true)
return false;
return true;
}
Last edited by Daniil; May 05, 2015 at 3:41 PM.
Reason: [CLOSED]