I am trying to build Jquery datatable to retrieve the list items depending on two filer dropdown boxes and a button. I have a custom list with Title, District, Organization, Number of Tasks as columns.
Organization and District are Drop Down boxes, upon selection of Organization drop down value district values should show up and then we hit button to retrieve the results in datatable. Please check the screen shot below for what I am looking for. Suggestions on this please.
click
event of yourGetData
button, call the jquery ajax function to call the corresponding REST API to return your items and in thesuccess method
fill the table rows using jquery html function