Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
147770 | Sep 23,2019 03:21 PM UTC | Sep 25,2019 02:15 PM UTC | JavaScript - EJ 2 | 3 |
![]() |
Tags: ListBox |
function onCreated(args): void {
let len = document.getElementsByClassName("e-listbox-tool")[0].childElementCount;
for (var i = 0; i < len; i++) {
(document.getElementsByClassName("e-listbox-tool")[0].children[i] as HTMLElement).style.display = "none";
}
(document.getElementsByClassName("e-listbox-tool")[0] as HTMLElement).style.border = "none";
} |
refreshBtn.element.onclick = (): void => {
listObj1.dataSource = [] // clear the listbox1 items
listObj2.dataSource = [] // clear the listbox2 items
listObj1.dataBind();
listObj2.dataBind();
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.