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
335
HeaderCheckBoxAlignment with hierarchical data
posted

Hello!

I'm using a hierarchical datasource (root DataTable with relations to other DataTable). I have in every table as the first column a checkbox, which is also displayed in the header (CheckboxVisibility = true). Additionally I set the column width of that column to 1 to minimize it. On tables with other tables below it, this column takes still more space. I guess this is necessary for the RowConnector lines.

The problem is that the checkboxes of the rows are in the center, but the checkbox in the header is NOT, even though I used

....Header.CheckBoxAlignment = Infragistics.Win.UltraWinGrid.HeaderCheckBoxAlignment.Center

It seems that it is 'left' per default and 'right' works also, but center unfortunately not.

Am I doing something wrong or does it just not work?

 

Greetings,

Renelope