Hi,
I am struggling with multiselect here is my html code
<ejs-multiselect id="ejsDivisionMultiSelect" mode="CheckBox" showSelectAll="true" selectAllText="Select All" unSelectAllText="Un-select All"
placeholder="Select one or more divisions" enablePersistence="true" dataSource="@ViewBag.Divisions">
<e-multiselect-fields text="DivisionName" value="DivisionId"></e-multiselect-fields>
</ejs-multiselect>
I am able to load control also i am able to clear control selected checkbox but selected values on top do not get clear here is my JS code
var ejDivisionAccessObj = document.getElementById("ejsDivisionMultiSelect").ej2_instances[0];
ejDivisionAccessObj.selectAll(false)
ejDivisionAccessObj.refresh()
also i check and uncheck checkboxes that way selection get duplicated and pushing duplicate array items to the server, please provide me solution?
Thanks
Farhan