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

MVVM groupable. Empty Message

1 Answer 59 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 12 Aug 2014, 10:34 PM
Hi,

I have a MVVM grid with data-groupable="true". Since there are a few columns in the grid are groupable, I want to change the message "Drag a column header and drop it here to group by that column" to "Drag A, B, or C header and drop it here to group by that column".

I know how to do it with JavaScript (set groupable > messages > empty) but how can I do that with MVVM?

Please help.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 14 Aug 2014, 09:01 AM
Hello Richard,

The syntax is:
data-groupable='{"messages":{"empty":"your message"}}'

Please check the declarative initialization help topic as it explains the convention used to transform JavaScript configuration settings into data attributes.

Regards,
Alexander Valchev
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
Richard
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or