Hi,
We have been able to almost style our browser (UltraGrid) the way we want, but we got one small detail left.
In the Column Chooser, the line between the rows goes from 2 pixels to 4 pixels...
An image says more.
Is there a way to remedy that? We are using an isl file. Our UltraGrid looks good... i'm afraid if we get the Column Chooser right, the UltraGrid will be wrong again.
Kind regards, Lieven Cardoen
Hello Lieven,
One thing you can try is to handle the BeforeColumnChooserDialogDisplayed event of the grid. This event gives you the dialog (on the event args). Then you could walk down the Controls chain and find the grid and set properties on it like UseAppStyling, StyleLibraryName, or StyleSetName. In theory, this would allow you to assign a completely different StyleSet or even a completely different isl file to the grid inside the ColumnChooser. I.e you can have an isl for the UltraGrid with the required styles applied and then a different isl file for ColumnChooser with no style set on the Grid row separator line.
Please let me know if you have any questions while implementing this suggestion.
Sincerely,Sahaja KokkalagaddaAssociate Software Developer
Great! Thx!
As per your request I deleted the isl file that you attached. I have reviewed it to see if any UI Role of ColumnChooser can be modified in order to reduce the pixel size of the line between the rows. UltraGridColumnChooser has a UIRole for Row however modifying this will affect the line separator between Grid rows like you mentioned.
I will research this further to see if there is any other UIRole /way to achieve this and will send you a progress update by end of day tomorrow.
Please let me know if you have any questions.
Here it is.
Can you delete it afterwards? Because it's not meant to be looked at by everyone.
thx, Lieven Cardoen
Please send me the isl file that you are using. I will review it to see if any UIRoles can be modified in order to reduce the pixel size of the line between the rows of the ColumnChooserDialog.
I will further look into this issue as soon as I receive this information.