You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we are trying to change the sort behavior, but the setSorter Interface is an empty Function with no return.
If u set the Sorter in your Demo, the Option List will be empty (no Return = no List of Options)
I think the Sorter Options in JsComboBoxOptions is using the wrong FunctionInterface (Functions.Func).
in JS, it would be something like
sorter: function(data) { return data.sort(function(a, b) { return a.text < b.text ? -1 : a.text > b.text ? 1 : 0; }); }
in Material GWT sorterComboBox.setSorter(() -> { ///What to DO? });
With the data as parameter and return the sorted List.
Can u please check if we have a Problem or can u explain how it was intended.
The text was updated successfully, but these errors were encountered:
Good Morning,
we are trying to change the sort behavior, but the setSorter Interface is an empty Function with no return.
If u set the Sorter in your Demo, the Option List will be empty (no Return = no List of Options)
I think the Sorter Options in JsComboBoxOptions is using the wrong FunctionInterface (Functions.Func).
in JS, it would be something like
sorter: function(data) { return data.sort(function(a, b) { return a.text < b.text ? -1 : a.text > b.text ? 1 : 0; }); }
in Material GWT
sorterComboBox.setSorter(() -> { ///What to DO? });
With the data as parameter and return the sorted List.
Can u please check if we have a Problem or can u explain how it was intended.
The text was updated successfully, but these errors were encountered: