This is a migrated thread and some comments may be shown as answers.

[Solved] Clearing selection

1 Answer 132 Views
Grid
This is a migrated thread and some comments may be shown as answers.
QualiWareUA
Top achievements
Rank 1
QualiWareUA asked on 16 May 2008, 02:40 PM
Hello,

I need to clear selection in grid when any area outside grid is clicked. I know how to clear selection. But I do now know how to handle all click events on the page, except grid control. I do it by handling onclick event of the body element, but it fires event if some control (and grid too) was clicked.

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 19 May 2008, 10:06 AM
Hi Vladimir,

You can assign an "onblur" event handler for the grid/masterTableView instance, and clear the selection when the user clicks outside the grid.

Regards,
Yavor
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
QualiWareUA
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or