PDA

View Full Version : WebList / WebGrid Dynamic Column Reordering (and Removing)



raveens
4-Mar-2014, 04:19 PM
Hi DAW,

One of the best feature of the CodeJock Grid (List) is the ability to reorder, add and/or remove columns dynamically. especially in a read only list.

The field chooser is my new best friend!

We have countless promptlist and list, that display information of particular data-sets and we cannot always predetermine the columns the users would need - so we ended up including almost all logically/displayable columns available for a particular data-sets but only initially display the most logically. Therefore if the user requires additional information, he/she simply right-clicks and inserts the column from the field chooser window (native in the CJ control), or just removes the columns that he/she doesn't need. Brilliant!

But sadly, this feature is not available in the new WAF.

Are there plans to introduce this feature in VDF18?

See below on some examples from other frameworks:
http://demos.telerik.com/kendo-ui/web/grid/column-reordering.html
http://demos.telerik.com/kendo-ui/web/grid/column-menu.html


While we are on the topic of the CodeJock dbGrid, I believe that should be a cdbCJList (a read-only version of the cdbCJGrid) as a one-to-one replacement for the dbList

So something like:
---------------------cCJGrid
------------------------cDbCJGrid
---------------------------cDbCJList
-------------------------------cDbCJ(Grid)PromptList


Also, are there plans to include the more advance features of the CodeJock's report control which the cdbCJGrid is based on? Such as "Sort Multiple Columns (http://www.codejock.com/products/reportcontrol/tour_14.asp)" and "Hierarchically Group by Column (http://www.codejock.com/products/reportcontrol/tour_16.asp)" which makes sense to have in a cDbCJList rather than a cDbCJGrid.

Thanks.

Garret Mott
4-Mar-2014, 04:25 PM
While we are on the topic of the CodeJock dbGrid, I believe that should be a cdbCJList (a read-only version of the cdbCJGrid) as a one-to-one replacement for the dbList
Thanks.

Just set pbReadOnly to true & you have a list.

raveens
4-Mar-2014, 04:54 PM
Hi Garret,

Yup! That's what we have been doing. But have found it easier to sub-class the Grid, because the following should also be set (according to the help)

Set pbReadOnly to True
Set pbSelectionEnable to True
Set pbEditOnKeyNavigation to False
Set pbEditOnClick to False

Besides, having a subclass for read-only grids (cCJdbList) opens the possibility for feature enhancements specifically for List based operations.

Garret Mott
4-Mar-2014, 05:03 PM
True 'nuf.

Harm Wibier
5-Mar-2014, 03:15 AM
Hi Raveen,

We are not planning a field chooser for the WebApp Framework in DataFlex 18.0. I've noted you request on the wish list.

Regards,