zilav Posted May 18, 2014 Posted May 18, 2014 Greetings! Is it possible to optionally get rid of TField's name when grouping is on in UniDBGrid? Right now it displays group header as "field_name: field_value", I need it to display only the value, since fields names are in english but values are localized. As a workaround I'm renaming field itself to be localized too, but it is inconvinient. And unfortunately TField.DisplayLabel is not used in group header by TUniDBGrid.
Administrators Farshad Mohajeri Posted May 18, 2014 Administrators Posted May 18, 2014 Easy, change the Title.Capiton of the grouping field.
zilav Posted May 19, 2014 Author Posted May 19, 2014 So add a column for a groping field, make it invisible and set Title. Can't say it is straightforward just to gain localization, but works. Thanks!
Administrators Farshad Mohajeri Posted May 19, 2014 Administrators Posted May 19, 2014 Added: 0001575: New TUniGridGrouping.FieldCaption property
Recommended Posts