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
296
Problem with setting column visibility
posted

Greetings,

 I'm using Infragistics Controls version 8.3.20083.109

 I'm experiencing an 'annoyance' with the UltraGrid.  Here's what is going on:

1. I set my grid's data source to a list of objects. (these objects are entities that represent tables in a database)

2. Once the datasource has been set, I then loop through each column of the grid many of the column have their "Hidden" property set to true.  This is because many of the properties on the entity don't need to be viewed by the end user.

3. After I have done this and the form with the grid is shown, I can horizontally scroll to the right to see all the visible columns of the grid. 

 Here's the problem: There is a large amount of 'white space' after all the visible columns that I can continue to horizontally scroll against on the grid.  I'm assuming that this white space is where the columns that I have made hidden used to live.

Is there any way I can get rid of this white space so that horizontal scrolling only shows what it is supposed to?