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
440
Hiding ReadOnly and UsesDynamicFields Columns
posted

Hi

I have a grid where I have set the schema manually and then set the datasource in code at run time.

Two columns appear at the right hand end of the grid - ReadOnly and UsesDynamicFields .

I can hide these successfully with the following code:

Dim x As Integer = staffUltraGrid.DisplayLayout.Bands(0).Columns.Count

staffUltraGrid.DisplayLayout.Bands(0).Columns(x - 1).Hidden = True

staffUltraGrid.DisplayLayout.Bands(0).Columns(x - 2).Hidden = True

But this seems to me to be a bit clumsy - is there somewhere in the designer these extra columns can be hidden.

BTW, what are they for anyway?

Thanks

Jerry