Hi @all,
we start working with the XAML-Controls from Infragistics for creating Windows 8.1/RT-Apps and are quite impressed by the XamGrid. Maybe a quite simple question, but I don't find any option to set properly.
In UltraWinGrid (Windows.Forms), there was an option CellClickAction which could be set to RowSelect. In our App the user should be able to say how the grids react on CellClick (e.g. RowSelect, CellSelect, ColumnSelect). The info is saved in the database. So I need a possiblity to programmatically set the option in the C# code behind. How can I do this? I cannot find anyhing...
Additionally I observed that all rows with an odd rownumber have a light gray background the rows with an even number a white one (or the other way round). That's nice. but the gray background is not spread over the complete row, but only as background of the values. Can this also be changed the way, that the background is over the complete row including empty cells (how? possible also in C# code for customizing the app?)?
We use version 13.2.0.0.
Thank you.
Best regards
Alex
For the second point I observed the problem (concerning the gray bakground of rows).
The grid is in a hubsection and is filled, formatted, translated and filtered (as in the Database declared) in the Loaded-Event of the XamGrid.This seems to be the problem. All grids handeled this way show this strange behaviour. (grid.RowHover also does not mark the complete row but only the text in the cells).
Any ideas?
Hi Alex,
XamGrid has a SelectionSettings property, which is basically a container of all selection related settings you could apply. For example on the SlectionSettings Object you'll find a CellClickAction property with possible values SelectCell and SelectRow. As for the column selection there is a separate property ColumSelection prop where you could specify column selection type - Multiple|Single|None.
For other selection options you could check out the selection help page
As for your second question - I was not able to reproduce such a behavior where the Alternating Row Background I was not able to reproduce such a behavior where the they are applied only over a cell with value. I've attached the sample app a used to try to reproduce it. Could you modify it so I could investigate this in detail.