khan4019 / tree-grid-directive

Need one or more maintainer for this! comment or email me if you are interested
http://khan4019.github.io/tree-grid-directive/test/treeGrid.html
347 stars 183 forks source link

sortable expanding_property #79

Closed miguelcamargo9 closed 8 years ago

miguelcamargo9 commented 8 years ago

I want to sort the field by which the shaft extends , as I can do this without adding the field to the definition of columns?

beardedinbinary commented 8 years ago

Anyone figure out a work around for this? I can't seem to get the expandingProperty column to also be sortable. This is a huge problem.

TrueDub commented 8 years ago

By sortable, I presume you mean the user can reorder the expandable property column after rendering. If so, this is already available, simply by adding sortable: true to your expanding property object, as follows:

vm.expandingProperty = {
                        field: 'text',
                        displayName: 'Directory or File',
                        sortable: true,
                        filterable: true
                    };

Does this cover what you're asking about?

TrueDub commented 8 years ago

Closing as a fix is in place.