Hi there all,
I have recently upgraded my php jqsuite from 4.6 to 4.8.2 in order to have searching work in my treegrid.
I use this snippet of code for searching (not using the built in toolbar):
|
|
var searchValue = $("#searchField").val(); var filter = {"groupOp": "OR", "rules": [{"field": "naam", "op": "cn", "data": searchValue}, {"field": "omschrijving", "op": "cn", "data": searchValue}]}; $('#tree').setGridParam({ postData: { filters: JSON.stringify(filter) }, search: true }); $('#tree').trigger("reloadGrid"); |
The searching itself works, however after the search is complete I lose all my custom formatters that I had defined in PHP.
In 4.6 this way of searching only worked for top level elements, but the custom formatters actually did show up after the search was complete.
How do I use the search AND keep my custom formatters in 4.8.2?
-
This reply was modified 10 years, 10 months ago by
eh.
-
This reply was modified 10 years, 10 months ago by
eh.