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

Custom Command not firing Row Select Event

6 Answers 232 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 1
Patrick asked on 03 Sep 2015, 08:13 AM
We were using Kendo Grid ever since and the normal process is that the when clicking the custom command it would also fire the Row Select Event but now that we've upgraded our Kendo version to support IE11 that process has changed. Clicking the Custom Command does not fire the Row Select Event anymore. Is there anyway to incorporate it back again?

6 Answers, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 03 Sep 2015, 03:36 PM

Hello Patrick,

Selecting a Grid row is essentially adding the k-state-selected CSS class to it. You could achieve this manually in the command click handler.

Regards,
Dimiter Madjarov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Patrick
Top achievements
Rank 1
answered on 04 Sep 2015, 08:15 AM

Thanks Dimiter

Could you give me an example on how I would do that? Thank you.

0
Dimiter Madjarov
Telerik team
answered on 04 Sep 2015, 08:21 AM

Hello Patrick,

Here is a sample implementation of the mentioned approach.

Regards,
Dimiter Madjarov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Patrick
Top achievements
Rank 1
answered on 08 Sep 2015, 11:02 AM

Hi Dimiter,

It did however select the row but it did not fire the method associated with "k-on-change". 

 ​

0
Accepted
Dimiter Madjarov
Telerik team
answered on 08 Sep 2015, 11:15 AM

Hello Patrick,

In order to trigger the change event of the Grid, the select method of the Grid API should be used to select the row. Here is the updated version of the example.

Regards,
Dimiter Madjarov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Patrick
Top achievements
Rank 1
answered on 11 Sep 2015, 02:47 AM
Thank you Dimiter!
Tags
Grid
Asked by
Patrick
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Patrick
Top achievements
Rank 1
Share this question
or