Hi team,
I am using webdatagrid in one of my applications.In the webdatagrid i have an unboundcheckbox column. For the checkbox field the headercheckbox mode is set to off. I am experiencing some weird behaviour though.Sometimes the checkbox field are shows an 2 state checkbox ( checked and unchecked) and sometimes the checkbox field are shown as tri state checkbox ( partial, checked and unchecked) . I am clueless as to what is causing this. Pls advice.
Hello,As Davind pointed our checkbox is with 3 states - checked, unchecked and undefined. Can you please attach a small sample which reproduces the issue? Where do you set the state of the checkbox? In initialize row server side event? Also you havent pointed which version and build you are using and if the issue is reproducible in all browsers or just in one.
Hi even I face the same issue. I use an Unboundcheckbox column. When I click any checkbox, the state of other checkboxes changes to "Partial" eventhough I had explicity set the mode as "bi-state" in the behaviour. My Infragistic version is: 11.2.20112.2055
<ig:GEWebDataGrid ID="gridIJE" runat="server" FunctionalityCode="IJE_InvoiceJournalEntry" VisibleControl="True" Width="100%" StyleSetName="Office2007Blue" DisableControl="False" AutoGenerateColumns="False" ViewStateMode="Enabled" DataKeyFields ="RowID" EnableDataViewState="True" EnableAjax="False">
<Columns>
<ig:UnboundCheckBoxField HeaderChecked="False" Key="UnboundCheckBoxField_0">
<Header Text=""></Header> </ig:UnboundCheckBoxField>
Hello Yady,Please let me know if you have any further questions regarding this issue. Did you manage to resolve it?
Hi,Sorry for the late response.I was occupied with my project tasks. My answer to your question is that i still face this issue. On initial page load my web data grid shows checkedbox column as bistate. When, i clear the datasource of the Datagrid, and rebind the data again to it, i notice that the checkedbox column now shows as tristate. I use the below code to clear the data from the grid and to bind the data again to it.
this.RolesDataGrid.ClearDataSource(); this.RolesDataGrid.DataBind(); this.RolesDataGrid.DataSource = LogicSEMaster.GetAllRoleDetails();this.RolesDataGrid.DataBind();
RolesDataGrid is the webdata grid. I am using Infragistics v11.2 on my machine.
Let me know if i need to provide you with more info on this.
Thanks
Hi,
When you call ClearDataSource, you actually clear out all unbound values from the grid since it is assumed you are giving a new data source.
regards,
David Young
Hello,Please let me know if David's notes hepled you to resolve the issue.
Hello Yadu,Can you please update us with the status of the issue. Did you manage to resolve it?