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

grid row command

1 Answer 47 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Maxim
Top achievements
Rank 1
Maxim asked on 23 Jan 2014, 06:24 PM
Hi,
Would you please update kendoui grid command to be generic opposed to be bound to a tag. That way we can have buttons or a tags used to respond to user actons.
As I see it you would only have to change code below from

if (editable.update !== false) {
    that.wrapper.on(CLICK + NS, "tbody>tr:not(.k-detail-row,.k-grouping-row):visible a.k-grid-edit", function(e) {
        e.preventDefault();
        that.editRow($(this).closest("tr"));
    });
}

to

if (editable.update !== false) {
    that.wrapper.on(CLICK + NS, "tbody>tr:not(.k-detail-row,.k-grouping-row):visible .k-grid-edit", function(e) {
        e.preventDefault();
        that.editRow($(this).closest("tr"));
    });
}

Thanks.

1 Answer, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 27 Jan 2014, 12:01 PM
Hello Maxim,

Thank you for your feedback!  I would recommend you to submit this suggestion at the KendoUI UserVoice portal, so we and other members of the community can evaluate, comment on and vote for it. Highly voted suggestions are often implemented in future KendoUI releases.

Regards,
Alexander Popov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Maxim
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Share this question
or