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>
<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>
<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>
Hi Annie,
Thank you for contacting Infragistics!I wasn't able to reproduce the issue that you describe, could you please attach a sample with some dummy data?
Thank you!
Here is the backend code example. Please advise. Thanks.
protected void Page_Load(object sender, EventArgs e)
{ var dtGridBranch = new DataTable("Branch"); DataColumn column; System.Type typeString = System.Type.GetType("System.String"); System.Type typeBoolean = System.Type.GetType("System.Boolean"); System.Type typeDateTime = System.Type.GetType("System.DateTime");
column = new DataColumn("BRANCH", typeString); dtGridBranch.Columns.Add(column); column = new DataColumn("RELEASED_YN", typeBoolean); dtGridBranch.Columns.Add(column); column = new DataColumn("RELEASED_BY", typeString); dtGridBranch.Columns.Add(column); column = new DataColumn("RELEASED_DATETIME", typeDateTime); dtGridBranch.Columns.Add(column);
DataRow row;
row = dtGridBranch.NewRow(); row["BRANCH"] = "NA"; row["RELEASED_YN"] = true; row["RELEASED_BY"] = "test"; row["RELEASED_DATETIME"] = "2015-01-01"; dtGridBranch.Rows.Add(row); wdgBranch.DataSource = dtGridBranch; wdgBranch.DataBind();
}
Hi Anni,
I managed to run your sample and it is working fine for me. Could you please share what exact version of NetAdvantage product are you using? For example I have tested your sample with 14.2.2317.
My version is
14.1.20141.1015
And I only have this version to use in my company.
I managed to reproduce the described behavior with 14.1.1015. This is fixed in the latest service release for 14.1. You can find the latest service releases under your account's Keys & Downloads page. https://ko.infragistics.com/my-account/keys-and-downloads/. Also the trial for 14.1 already expired and I strongly advise you to purchase the latest version of our product, which will be 15.1 and is expected to be released the next week.
I'm just following to see if you need any other assistance.
Unfortunately I cannot suggest you any workaround.
Thanks Daniel.
And is there any workaround regarding this issue? Because there is really complicated process to get the latest service release for our company.
Regards,
Sorry for the confusion. I assumed you are using trial version of 14.1, because the case was logged with trial service level support. 14.1.1015 is not trial, this is 14.1 launch version. After 14.1 was released we periodically push service releases that include bug fixes. To get the latest service release go to https://ko.infragistics.com/my-account/keys-and-downloads/, register your product if you haven't done it already and download the service release.
Let me know if I may be of further assistance.
Hi Daniel,
Do you mean 14.1.1015 is a trial version? My company bought 14.1 and I don't think it's trial.
Because it's not possible for our company to buy 15.1 recently and I have to release our application soon. Is there any workaround for this issue? It's really a crital bug impacting the funcationality of our application.....
Could you please give me the detailed service release number for 14.1 having this bug fixed? I will try to see if it's possible to have our company to get it soon as it has complicated process in our company to make the version useable by us.