When looking at the Overview tab of the SearchForm documentation (I'm looking at the current on-line reference dated 2024-04-13), it says:
There's also an example related to the "searchForm" property of the ListGrid class (https://smartclient.com/smartclient-...ieredFiltering) which uses:
I'm a bit confused if this conflicts or that it doesn't matter which one to use.
A SearchForm may be bound directly to a ListGrid by applying it to ListGrid.searchForm. Doing this ensures that when search() is invoked (from a submit button click or Enter keypress), the grid will be filtered by the values from the search form.
Code:
itemChanged: function (item, newValue) { this.submit(); }
Comment