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.
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
Hello Yady,Please let me know if you have any further questions regarding this issue. Did you manage to resolve it?
Hi,
If someone can supply a sample showing what's going on, we could check this out. There is no bistate mode for a checkbox column. No matter what, each cell can be null, true, or false. There is on a property controlling the mode of the header checkbox. I could also suggest to upgrade to the latest service release if you don't already have it.
regards,
David Young
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,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.