The attribute is smarter than that though in that it supports multiple arguments.
The signature for the attribute is:
DisplayColumn[“Column to display”, “Column to sort by”, Sort order]
This means you pick the column you want to show, the column to use when sorting and the sort order.
Most times you set the display and sort columns to the same value but the flexibility is there to pick another column if you need to.
No comments:
Post a Comment