Hello,
I have an UltraGrid where some Columns display their contents with ValueLists and ComboBoxes.
Now I have three problems with this constellation:
1.) When grouping by this Column, the group-band doesn't display the DisplayMember, but the ValueMember this means it displays e.g. the ID and not the Name of the selected Value of this group (e.g. Name: -1 (98 items)
2.) When the content is grouped by this column and this column is also shown in the grid, so that I can change this value, when changing the value of this combobox this record isn't moved to the new group. That means when the grid is grouped by the Name and I change the name, that this record still stays in the old group
3.) How can I translate the string (x items) in the group-band? I have translated all the ResourceStrings including "AllRowsFilteredOut", but I still see the english string.
I hope you can help me.
Regards,
Patrick
Hi Patrick,
Pedde said:1.) When grouping by this Column, the group-band doesn't display the DisplayMember, but the ValueMember this means it displays e.g. the ID and not the Name of the selected Value of this group (e.g. Name: -1 (98 items)
I think you need to update to the latest Hot Fix. I'm pretty sure this is a known bug that was fixed a while ago. You can download hot fixes for products you own here: My Infragistics Keys and Downloads - Download Anything and Everything You Own
Pedde said:2.) When the content is grouped by this column and this column is also shown in the grid, so that I can change this value, when changing the value of this combobox this record isn't moved to the new group. That means when the grid is grouped by the Name and I change the name, that this record still stays in the old group
This is done intentionally, because it would be pretty weird for a user to type into a field and click away only to find that the row they were clicking away from just moved to a new location.So it is left up to you, the developer, to decide when you want to re-group.
You can do this in one of two ways:
Pedde said:3.) How can I translate the string (x items) in the group-band? I have translated all the ResourceStrings including "AllRowsFilteredOut", but I still see the english string.
Not sure what you mean by group-band, but I think you might be talking about the GroupByRow. You can change the text no the GroupByRow using the GroupByRowDescriptionMask property. Or, if you want even more control, you can handle the InitializeGroupByRow event of the grid and set the Description property of the row to any text you want.
Hello and thanks for posting,
points 2 and 3 are solved.
But for point 1:
I'm currently working with the following package:
"NetAdvantage_NET_20083_CLR35_Help.zip"
and with this package the error still occurs and I don't see any hotfix.
Best regards,
Patrick Feistel
I'm not sure what that zip file is - it looks like it's just the help files.
Anyway, you can download the latest Hot Fix from the Infragistics web site here: My Infragistics Keys and Downloads - Download Anything and Everything You Own
If the hot fix does not help, then you should create a small sample project demonstrating the problem and Submit an incident to Infragistics Developer Support so they can check it out and get it corrected.