Hi all,
today I've found a small issue when using the Group By feature of UltraGrid. The default text didn't fit into the Group By box during runtime although it fitted in Designer. I've shortened it to a shorter text but this made the Group By box more narrow in the Designer thus it didn't fit either. I've event tried a smaller font but the result was the same. Imho the problem is that the width of the Group By box is calculated in the Designer but during runtime the text uses little bit more space thus not fitting into the box.
Here are 2 pictures displaying that issue:
Group By Box in the Designer
Group By Box in App
The grid is embedded in a rather simple WinForm dialog with just a UltraToolbarsManager with a Toolbar at top of the dialog. The UltraGrid control is docked to the remaining space of that dialog.
I'm running Infragistics4 v16.1 on a Windows 10 64bit machine.
Thanks,Wolfgang
Hello,
I attempted to reproduce this in a sample, but was not successful. Are you able to send a sample that we can use to debug? If you would prefer not to upload your sample to the public forum, please let me know and I will create a private case for you.
Hi Mike!
Thanks for your help. I've created a new sample project with just a simple dialog containing a Toolbars Manager and an UltraGrid inside, this works without problems. We are using AppStylist for our production application, I thought that this is maybe causing the problem so I removed the call to App Style loading but that didn't change anything. Basically our application consists of a shell which is a Windows Form looking similar to MS-Outlook by having an Explorer Bar to the left with several groups, each group then contains Tree Views to select Views that will open in the space right of the Explorer Bar. Each View is implemented as a UserControl that is dynamically loaded and shown by the main Shell. It makes no difference if the UltraGrid is in one of the View-User Controls or in a separate dialog, if the Group By Box is shown the width is too small.
I've now copied the implementation of the Shell to the Sample project, had to remove the code which is related to our business application like database connection, Active Directory connection etc. In our Business application I've also created a simple dialog with just a Toolbar Manager and a docked UltraGrid inside, copied that implementation 1:1 to the sample project. If this dialog is opened in the Business Application the Group By Box is too narrow, if I open same Dialog from the sample project it is wide enough. It seems that there is something different in our main Business Application causing a different behaviour!
Currently I'm little stuck how I could proceed to provide you with an example because our main Business Application requires a database connection and also connection to our Active Directory, also due to legal reasons we cannot provide you with that. If someone of you guys has some ideas what I can do and test this would be rather welcome, maybe then it is possible to create a sample application for you?
Thanks again and best regards,Wolfgang