Skip to content

sortInfo, what is the correct syntax, working example needed #244

Description

@JByfordRew

Various threads show these different syntaxes

  • sortInfo: { field:'myField', direction:'asc'}
  • sortInfo: { column:''myColumn', direction:'asc'}
  • sortInfo: { column: {field:'myField}, direction:'asc'}
  • sortInfo: ko.observable( ...... )

Questions

  • Is the field/column value the column def field value or display name?
  • is the descending value 'desc' or other?

I've tried various combinations and none default the sorted column. maybe a simple jsfiddle example

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions