FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.



Jun 1, 2018, 1:01 PM
68 Posts

how to correctly sort a date column in an enhanced data grid?

  • Category: Debugging
  • Platform: Windows
  • Release: 8.5.3
  • Role: Developer
  • Tags: dojo datagrid sort date column
  • Replies: 0

I have an enhanced data grid, using a REST service to populate it from a view.  It works great!  I love the flexibility of the grid.  BUT my users would like to be able to sort date columns.

In order to get the column to even display in the data grid, I have to @Text the value (so it doesn't look like 2011-12-01T17:00:00Z).  And when we sort on a text value, it's not the same as sorting a date value.  Is there a way to sort these columns (correctly)?


FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.