Home Analyst Portal

Deselect Query Result Selection with JavaScript

Ryan_KennedyRyan_Kennedy Customer IT Monkey ✭


I am trying to write some custom javascript that will auto select an object in a query result in the portal if the filter filters the possible selections down to one object. Then if the user continues to type in the filter box and there are zero available selections, it deselects the current selection. Does anyone know how to clear the selections?



  • Geoff_RossGeoff_Ross Cireson Consultant Super IT Monkey ✭✭✭✭✭
    Hey Ryan,

    There is a clearSelection method on the Kendo Grid.
    var grid = $("#grid").data("kendoGrid");
    That should do the job. Nice idea by the way. Good luck with it.

Sign In or Register to comment.