Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Number sorting in list grid column

    I am using a listGrid , that has a column called "Employee Id"; this column will always contain an integer.

    If I define column type:"integer", the client side sorting works fine.
    But I want this column as the link. Is there any way by which this column is a link but when I do sorting, it is the number sorting and not the text sorting ?

    Also one of my field id of type "date", but when I do the sorting it is based on text sorting. How can I avoid it ?

    #2
    You can declare the field as type "integer" is a DataSource, the declare the ListGridField as type "link".

    Alternatively, provide a CellFormatter that writes our your own HTML link tag (<a>).

    Comment

    Working...
    X