Skip to content
This repository has been archived by the owner on Apr 2, 2019. It is now read-only.

Custom column sorting not working #589

Open
Arti3DPlayer opened this issue Jul 8, 2015 · 0 comments
Open

Custom column sorting not working #589

Arti3DPlayer opened this issue Jul 8, 2015 · 0 comments

Comments

@Arti3DPlayer
Copy link

For example i have a custom column:

{
    label: "RUNNING or STOPPED",
    editable: false,
    cell: Backgrid.Cell.extend({
        render: function () {
              if (this.model.get('is_running') == 1) {
                  this.$el.text('Running');
              } else {
                 this.$el.text('Stopped');
              }
             return this;
        }
    })
},

And sorting for this column(when we click on title) is not working

@Arti3DPlayer Arti3DPlayer changed the title Custom column not sorting Custom column sort not working Jul 8, 2015
@Arti3DPlayer Arti3DPlayer changed the title Custom column sort not working Custom column sorting not working Jul 8, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant