Jul 20, 2013, 9:50 AM
TreePanel GridFilters (Features not found)
Hi,
I saw the example at http://mvc.ext.net/#/GridPanel_Plugi...ilters_Remote/ .
I would apply the part
I know the treepanel has the structure problem, but I would filter it as a simple plain GridPanel, or, using the remote mode, I would arrange myself returning the right set of data having filter parameters.
I would only be able to activate the "right-click" plugin to set filters, and pass the filter parameter via treepanel proxy.
How can I enable it in a treepanel?
Thanks
I saw the example at http://mvc.ext.net/#/GridPanel_Plugi...ilters_Remote/ .
I would apply the part
.Features(
Html.X().GridFilters()
.Local(true) //OPTIONALLY
.Filters(
Html.X().NumericFilter().DataIndex("Id"),
Html.X().StringFilter().DataIndex("Company"),
Html.X().NumericFilter().DataIndex("Price"),
Html.X().DateFilter().DataIndex("Date")
.DatePickerOptions(options => {
options.TodayText = "Now";
}),
Html.X().ListFilter().DataIndex("Size").Options("extra small,small,medium,large,extra large"),
Html.X().BooleanFilter().DataIndex("Visible")
)
)
in a TreePanel / TreeGrid.I know the treepanel has the structure problem, but I would filter it as a simple plain GridPanel, or, using the remote mode, I would arrange myself returning the right set of data having filter parameters.
I would only be able to activate the "right-click" plugin to set filters, and pass the filter parameter via treepanel proxy.
How can I enable it in a treepanel?
Thanks