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
425
Row selection
posted

I want the ability to select a entire row on clicking a cell in the row.  In the grid, i have the following selection settings:

                <igGrid:XamWebGrid.SelectionSettings>
                    <igGrid:SelectionSettings CellSelection="None" CellClickAction="SelectRow" 
                        ColumnSelection="None" RowSelection="Single"/>
                </igGrid:XamWebGrid.SelectionSettings>

Even with the above settings, the mouse click select a cell than a row. I am modifying an existing code. So, i am afraid there are other grid attributes that are suppressing my above code behavior in the grid. 

Are there any other properties in XamGrid that could override these attributes?

Parents
No Data
Reply
  • 6475
    Verified Answer
    posted

    Hi,

    Your settings look fine. You shouldn't be able to select a Cell with the given SelectionSettings. And since you turned the RowSelection on, and have set the CellClickAction to "SelectRow", mouse click should always select a Row.

     Are you sure you aren't modifying the SelectionSettings in code-behind (e.g., on UserControl's Loaded event or somewhere else) ?

     

    Regards,

Children
No Data