Data Grid - Multi Field Search

4
Hello Everyone, I’m using multi field search widget in a page with multiple data grid. When i use XPath as data source of data grid, i could able to do search in multiple data grid. If i use microflow as data source, i couldn’t able to do a search, it throws datasource constraints. Find the error below, datasource.setConstraints is not a function TypeError: datasource.setConstraints is not a function     at E.<computed>.C._fireSearchOneGrid (http://localhost:8035/widgets/GridSearch/widget/Core.js?637237632702475990:144:16)     at E.<computed>.C._fireSearch (http://localhost:8035/widgets/GridSearch/widget/Core.js?637237632702475990:127:10)     at http://localhost:8035/widgets/GridSearch/widget/Core.js?637237632702475990:120:10 
asked
2 answers
0

Got Same problem… did you find any alternative to this ?

answered
0

Hi All,

 I was able to fix this issue by taking the latest GridSearch from https://github.com/tieniber/GridSearch/raw/master/dist/GridSearch.mpk

and replace widget with your current one and it looks different than old widget.

Hope it resolves this error,

 

Ashok

answered