Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1570
Problem in <UnboundCheckBoxField>
posted

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

Parents
No Data
Reply
  • 15979
    Suggested Answer
    posted

    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.

Children