Sep 05, 2012, 8:26 AM
[CLOSED] Editable / Non Editable component column Grid View - Razor
Hi,
I want to make component columns as editable or non editable based on some condition through JavaScript only not code behind code.
Code Sample:
Thanks in advance.
I want to make component columns as editable or non editable based on some condition through JavaScript only not code behind code.
Code Sample:
ratecolumnModel.Columns.Add(Html.X().ComponentColumn()
.Text("Invoice Text")
.DataIndex("InvoiceText")
.Editor(true)
.OverOnly(true)
.Sortable(false)
.Draggable(false)
.MenuDisabled(true)
.Flex(1)
.Component(extcomponent =>
{
extcomponent.Add(
Html.X().TextArea()
);
})
);
Please help me to implement this scenario. Thanks in advance.
Last edited by Daniil; Sep 07, 2012 at 3:37 PM.
Reason: [CLOSED]