skhye05 / nativescript-multi-select

Apache License 2.0
11 stars 6 forks source link

Select All Option #8

Open throwingdarts opened 5 years ago

throwingdarts commented 5 years ago

Can we add a select all option similar to the kendo grid using checkbox selections? kendo ui grid example for reference

throwingdarts commented 5 years ago

Maybe a way to update the options and refresh or reload?

MSelect.SetOption("selectedItems", selectedItems); *needed function MSelect.refresh(); *needed function

Or at least a way to hide so it can be re-created?

MSelect.show(options); MSelect.hide(); *needed function options.selectedItems = selectedItems MSelect.show(options);

throwingdarts commented 5 years ago

Perhaps even an id property would help so we can getViewById and then hide?

var ms = page.getViewById("mselect"); ms.visibility = "hidden";