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
240
How to select cell when label was clicked?
posted

Hello.  I using XamDataGrid.  It has date field and time field per every time.  and It has records per every day. i want allows.

1. select all cell(enable Isselected property of cell) of field when label of every time field is clicked

2. select all cell(enable Isselected property of cell) of record when record of every date is selected

3. select all cell(enable Isselected property of cell) of grid when label of date field is clicked

 

I tried to select using SelectedItemsChanged Event. but i can not access property of cell using selectedfields and selectedrecords

 

How to select cell ?

  • 69686
    posted

    Hello,

    I am not sure I understand what you have in mind, but I think you mean LabelClickAction and CellClickAction properties like this, for example:

                <igDP:XamDataGrid.FieldSettings>
                    <igDP:FieldSettings LabelClickAction="SelectField" CellClickAction="SelectCell" />
                </igDP:XamDataGrid.FieldSettings>

    Is this what you mean or I am missing something?

    Alex.