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 do I hide all columns not explicitly declared in grid?
posted

I have an ultra grid (C#) that gets bound to a dynamic dataset.  I have a standard block of fields that are usually always there.  Thus I account for them in the initalizelayout event and format them accordingly.  Due to the dynamic nature of my data, sometimes extra columns get into the grid and of course since I don't know about them and haven't set them to be hidden....they show up on the grid.  And of course use the SQL field name so that it definitely looks out of place. 

Is there some setting or a way to hide all other fields that aren't explicitly defined?