AnsweredAssumed Answered

How to Place New Items to beginning of a Dojo Data Grid / Data Store

Question asked by THynes on Dec 18, 2013
Latest reply on Dec 18, 2013 by JUihlein-esristaff
So I have a search function that populates the a Datagrid through it's data store and a manual selection tool that adds or removes items from the grid.  Items are added with: data_store.newItem(data);

The add function places the new items at the end of the grid.  I would like this new entry to populate the new item at the top of the grid.  Since I am using the data store and not an array, I can't use a function like unshift to place at the beginning of the array.  I thought I had seen someone on these forums solve this before, but I can't find the post.  Ideas anyone?

Outcomes