ValYouW / jqPropertyGrid

A small property grid in JS to view/edit POJOs
MIT License
57 stars 33 forks source link

Sort order #7

Closed philip-goh closed 6 years ago

philip-goh commented 9 years ago

At the moment, it looks like the layout of the property grid is dependent on the sort order of the fields in the object. This close coupling causes problems as objects could have their fields sorted.

Is there a way of defining the order of fields in the property grid? Or a flag to make the order dependent on the meta object instead as this is guaranteed to not change?

ValYouW commented 9 years ago

Hi, there is no way to control the order of the fields in the gui, it just iterates over the target object properties...

ValYouW commented 6 years ago

PR #19 added option to add a sort function to control the order of the property grid