infor-cloud / m3-h5-sdk

https://infor-cloud.github.io/m3-h5-sdk/
34 stars 20 forks source link

DataGrid, is there a possiblity to change deafult filter setting? #81

Closed bjohog closed 3 years ago

bjohog commented 3 years ago

Hi,

is there a possibility to change the default filter setting Contains, say for example that I want to use Starts with instead as default setting?

image

tmcconechy commented 3 years ago

This is probably a question for https://github.com/infor-design/enterprise but i can answer it...

Answer is there is an option you can see in this example https://github.com/infor-design/enterprise/blob/master/app/views/components/datagrid/example-custom-filter-conditions.html#L27-L30 where you can change the filter conditions for a column (option filterConditions)

bjohog commented 3 years ago

Thanks!

It works perfectly.