[progress Communities] [progress Openedge Abl] Forum Post: Custom Search In Data Grid...

  • Thread starter Thread starter Martin Velikov
  • Start date Start date
Status
Not open for further replies.
M

Martin Velikov

Guest
Hello, At first, I am a beginner in programming. I am trying to implement a custom search text box, which is working now in blank view and it is connected to js function: ---------------------------------------- changeHandler: function (e) { var filter, value = e.value; if (value) { filter = { logic: 'or', filters: [ { field: 'Name', operator: 'contains', value: value }, { field: 'Address', operator: 'contains', value: value } ] }; this.scope._$ds.Clients.filter(filter); } else { this.scope._$ds.Clients.filter({}); } } --------------------------------------------------------------- In a DATA GRID SEPARATE FORM I am using this html: --------------------------------------------------------------- --------------------------------------------------------------- but I don't know how to make the connection to the "changeHandler" in the view-factory.js .

Continue reading...
 
Status
Not open for further replies.
Back
Top