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 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.
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