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

Firing event of update button of listview

2 Answers 170 Views
ListView
This is a migrated thread and some comments may be shown as answers.
jimit
Top achievements
Rank 1
jimit asked on 22 Sep 2017, 02:12 AM

Hi,

I want to fire the event on update button click of listview without changing the values of the textboxes defined under the datasource/model of the same listview.

Hint: I have noticed that k-state-focused and k-state-selected activates on <div id="listview_lv_active">

I want to change this manually. Is it possible to achieve this?
           

2 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 25 Sep 2017, 11:15 AM
Hello, Jimit,

Could you please clarify which is the update button on the ListView and when the event has to be fired?

In general, the Kendo UI ListView is working with custom templates and all elements and most of the events are manually attached and customized by the developer.

Also, most of the built-in events can be triggered programmatically:

$("#listviewID").data('kendoListView').trigger('eventName')


Regards,
Stefan
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
jimit
Top achievements
Rank 1
answered on 17 Oct 2017, 03:11 AM

Thanks Stefan for the reply. But my issue is solved. what I was looking was the implementation inside save: function

 

Tags
ListView
Asked by
jimit
Top achievements
Rank 1
Answers by
Stefan
Telerik team
jimit
Top achievements
Rank 1
Share this question
or