Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
285
checkbox not editable when the value is true
posted

Hi,

I have the following webdatagrid in my application, the datasource is bind to a datatable. When the value is true for the checkbox, it's not editable. While if the value is false, it's editable. Could you please advise what's the issue?

 

Thanks,

Annie

<ig:WebDataGrid ID="wdgBranch" runat="server" Height="350px" DataKeyFields="BRANCH"

AutoGenerateColumns="false" >

<Behaviors>

<ig:EditingCore>

<Behaviors>

<ig:CellEditing Enabled="true">

<EditModeActions EnableF2="true" EnableOnActive="true" MouseClick="Single" />

<ColumnSettings>

<ig:EditingColumnSetting ColumnKey="BRANCH" ReadOnly="true" />

<ig:EditingColumnSetting ColumnKey="RELEASED_YN" ReadOnly="false" />

<ig:EditingColumnSetting ColumnKey="RELEASED_BY" ReadOnly="true" />

<ig:EditingColumnSetting ColumnKey="RELEASED_DATETIME" ReadOnly="true" />

</ColumnSettings>

</ig:CellEditing>

</Behaviors>

</ig:EditingCore>

<ig:ColumnResizing>

</ig:ColumnResizing>

<ig:Filtering FilterType="ExcelStyleFilter">

</ig:Filtering>

<ig:Sorting></ig:Sorting>

</Behaviors>

<Columns>

<ig:BoundDataField DataFieldName="BRANCH" Key="BRANCH" Header-Text="Branch" Width="70px" />

<ig:BoundCheckBoxField DataFieldName="RELEASED_YN" Key="RELEASED_YN" Header-Text="Release Trades" Width="110px" />

<ig:BoundDataField DataFieldName="RELEASED_BY" Key="RELEASED_BY" Header-Text="Released By" Width="100px" />

<ig:BoundDataField DataFieldName="RELEASED_DATETIME" Key="RELEASED_DATETIME" Header-Text="Released Date/Time"

DataFormatString="{0:MMMM dd, yyyy hh:mm tt}" width="175px"/>

</Columns>

</ig:WebDataGrid>