Hi,
In WHDG i am using <UnboundCheckBoxField>. I want to implement a functionality that in child band The column’s header will be a checkbox itself, allowing check/uncheck actions to be applied on all rows at once. I have implemented my example with reference of this link http://samples.infragistics.com/aspnet/Samples/WebHierarchicalDataGrid/Data/Unbound-Checkbox-Column/Default.aspx?cn=hierarchical-data-grid&sid=6ace2eee-eff5-43e9-99b7-1e91b89a89b7
My problem is i am not able to check any checkbox in WHDG. Also one strange thing i have noticed is that in the Infragistics example website when i check any checkbox the checkmark sign is coming in it however when i am implementing in my system instead of checkmark sign "X" sign is coming inside checkbox. What could be the reason of this?
The other problem is i want to implement this feature inside child band of WHDG. When i am using <UnboundCheckBoxField> inside child band in this case i am not able to expand child rows. Only column headers are coming of child band.
Can anyone please look into this?
Thanks,
Mits
Hello Mits,
In order to be able to check/uncheck Checkboxes you will have to enable “Editing” behavior for the grid first (as shown in the sample):
<ig:EditingCore>
<Behaviors>
<ig:CellEditing>
<ColumnSettings>
…
<ig:EditingColumnSetting ColumnKey="Phone" ReadOnly="true" />
</ColumnSettings>
</ig:CellEditing>
</Behaviors>
The reason for the different appearance of the checkbox mark is the Style that is used in application – when the Default style is used the sign is “X”. You can however easy change that sign with your own by changing the grid Style or by setting Checked, Partial and Unchecked ImageUrl properties for the Checkbox to point to your images.
For your third question I will contact our Development team and will give you more information about using Unbound Checkbox column in the child bands.
Let me know if you need further information about the other questions.
Hi Alex,
Thanks for the reply. With your help my first two doubts get solved. Now my only concern is how to use same feature inside child band grid. I wanted to implement checkbox inside child band so that user can check/uncheck checkbox to select single/multiple rows.
When i am trying to implement it inside child band it shows only child headers. Child records are not coming.
Hi Ivenkat,
This was a bug in the RTM. You need to upgrade to the latest Service Release for it to be resolved.
regards,David Young
Hi Mits,
I am also having the same problem. I also tried to use the unbound checkbox within child band, but it shows child headers only, child records are not coming. Did u find the solution for this issue? If u got the solution, please say how to solve this issue. Otherwise say any other ideas.
Hello Mits, IntegraSys76,
I have tested this behavior with the latest Service Release (build 2036 for 11.1) and it is appear that is resolved.
You can test this on your applications and inform me what the results are.
Hi IntegraSys76,
Yesterday i got an email from Infragistics. They have released a new service pack for 2011.1. As per them they have fixed the child grid checkbox issue in it.
I am guessing that this support case fix has not been released yet because I am getting the same behavior. The checkbox in my child band is only displaying in the header.