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
705
how to dynamically alter some row settings
posted

I have a C# app using the Infragistics ultragrid in a Winforms solution.  I need to do the following and I am unsure how after trolling through these forums.

1) currently when the grid is show on my form (using data binding) there is a row highlighted.  I would like to have nothing at all highlighted in the grid (or active) when the user first comes to it

2) I need to check the value in a column on a per row basis (before displaying the grid to the user).  If that row contains a certain value, then I need to change the background color for that whole row.

2) I need to check the value in a column on a per row basis.  If that row contains a certain value, then I need to effectively disable this row.  I am not allowing user edits on any of the data so editing is not a concern.  I don't want them to be able to select this row at all.  So if they try it simply ignores them (maybe supply a messagebox or something at the time too).

Is there an easy way to do this?  I am spinning my wheels here.  Thanks!

Parents Reply Children