Skip to content

[AEM UI Extensibility] CFC Custom Grid Columns sorting #43

@davidjgonzalez

Description

@davidjgonzalez

Is there an existing issue for this?

  • I have searched the existing issues

Which topic?

https://developer.adobe.com/uix/docs/services/aem-cf-console-admin/api/grid-columns/

What's wrong with the content?

2023-06-07 at 12 30 PM

Setting sortable: true does not appear to make a column sortable (there is no sort direction icon next to the label, nor does clicking the column label do anything). I think this should actually be a function hook that acts as a comparator - for example, I have an "Age" custom column, with values likes "9 seconds" and "1 year" ... i assume if this works, it would do a string compare and think "9 seconds" is > "1 year" -- even though its not.

Following suit, defaultSortOrder does not seem to do anything. Assuming this should work, it would be good to clarify what this actually does. Does it cause the gird to sort the values in the specified for this column on initial load? What id 2 columns are specified with this? Which one sorts first, and which one is the "tie breaker" (2nd sort).

Also, the description of this field is in the wrong column in the docs table - it should be in the "description" col rather than "required" col

What changes do you propose?

No response

Anything else that can help to cover this?

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions