ryansuitposungkono / openjs-grid

Automatically exported from code.google.com/p/openjs-grid
0 stars 0 forks source link

Sort via draggable/droppable/selectable #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Feature request:

* The ability to manipulate the order of row data via drag and drop handles.

Simply put; add a handle to a row.  Allow for the row to be moved visually.
This doesn't necessarily have to affect backend data, unless a sortable column 
is involved.

The sortable column would be a simple int field, which is often used in 
situations such as lookup tables for drop down menus, that sort of thing.

--- hmm curious if you could add a framework to grid that would let you 
directly manipulate the presentation order of a related select menu.  

i.e. I have a grid and one column is a lookup select drop down.  An Admin mode 
exists where I can change the order of that select drop down.  Backend 
requirements would be a sort_order column of sorts, but otherwise that seems 
like a really interesting feature.

Original issue reported on code.google.com by vep....@gmail.com on 8 Apr 2011 at 4:32

GoogleCodeExporter commented 9 years ago
What would be the goal of dragging and dropping rows? Just to compare data?

I'm not sure if im misunderstanding your 2nd point.  You can already set 
order_by and sort before you call $grid->makeSelect()  Therefore you can 
manipulate the sort order of the drop down. Is this what you mean, or am i 
completely missing it lol

Original comment by s...@square-bracket.com on 10 Apr 2011 at 3:20