This bug is in the annoying defects category. Not critical but makes the default behavior look bad.
Observed: create a ListGridField, which has an ID value of type Integer (or Long). This value uses an OptionDataSource to map the ID to a String. The ListGridField will align the String using the style of Integer/Long (ie, right justified).
Expected: Mapped to a String, it should look like a String, ie, be left justified. It should look at the field type of the optionDataSource displayField and use that semantics (ie, if it maps to a String -> Double then it should show right justified)
Workaround: Manually specify the Alignment for the field.
Observed: create a ListGridField, which has an ID value of type Integer (or Long). This value uses an OptionDataSource to map the ID to a String. The ListGridField will align the String using the style of Integer/Long (ie, right justified).
Expected: Mapped to a String, it should look like a String, ie, be left justified. It should look at the field type of the optionDataSource displayField and use that semantics (ie, if it maps to a String -> Double then it should show right justified)
Workaround: Manually specify the Alignment for the field.
Comment