Skip to content

Replies

0
Alberto Ghiglia
Alberto Ghiglia answered on Oct 13, 2015 7:22 AM

Hi

I already set the 'GridReports.UseAppStyling = False' in order to be able to change the color set of the grid.

The idea, should be not to reset the appearance, but to show the Grid without any highlighted row. It is like when you open an excel file: you don't see any row selected until you click on the screen

Maybe this is not how Infrgistics is working in this way (one line is always highlighted). Pls, let me know in case I'm wrong

The only solution I found to "clear" definetively the grid is the following

GridReports.DisplayLayout.Override.ActiveRowAppearance.BackColor = Color.Transparent
GridReports.Refresh()

I noticed that you need to refreshm in order to apply the changes

Thanks

Alberto

0
Alberto Ghiglia
Alberto Ghiglia answered on Oct 12, 2015 2:33 PM

Hi,

I see your point. After the code you suggested, if i run a test (looping across all rows) no rows seems to be selected

However as you can see in the following Screenshot, the grids seems to be still with selected rows (I how you can see my copy & paste attachment

The question should be: how can I display tables without any on these blu rows?

Thanks

Alberto

0
Alberto Ghiglia
Alberto Ghiglia answered on Oct 12, 2015 1:24 PM

Hi,

unfortunately it does not work: it flows thru' the selected cell, but after the row remain selected (highlighted in blue)

Do I have to refresh somehow the grid? (or where is the trick?)

Many thanks

Alberto