Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Telerik
Build great .NET business apps
Net Web
Cross-Platform
Desktop
Reporting and Documents
Testing & Mocking
Debugging
Build JavaScript UI
Javascript
AI for Developers & IT
Ensure AI program success
AI Coding
Additional Tools
Enhance the developer and designer experience
UI/UX Tools
Free Tools
CMS
Support and Learning
Productivity and Design Tools
Hi,
I would like to call a JavaScript function whenever an item is checked/unchecked in the excel-like filter list.
Please assist with an example of how this could be achieved.
Thank you,
Jas
protected
void
RadGrid1_FilterCheckListItemsRequested(
object
sender, GridFilterCheckListItemsRequestedEventArgs e)
{
e.ListBox.DataBind();
foreach
(RadListBoxItem item
in
e.ListBox.Items)
item.Attributes.Add(
"onclick"
,
"filterListBoxItemClicked(this,event);"
);
}
function
filterListBoxItemClicked(el, event) {
if
(event.target && event.target.type ==
"checkbox"
&& event.target.checked) {
alert($(el).text());