joben wrote
Interesting find. So there is a config.messages.noRecords a well as config.noRecords.template. And they seem to do the same thing.
I tried turning that into an init script but no luck.
Yes, the template is a bit different as far as I understand it and is an option to customize more of how the message should be displayed e.g adding styles etc.. The messages thing is just to change the actual text string.
Here are 2 working scripts:
Change via messages i.e only actual text string:
config.messages= {
noRecords: 'blah blah blah.'
}
Change via template i.e change text string + have an option to change style:
config.noRecords= {
template: '<div class="k-grid-norecords"><div class="k-grid-norecords-template" style="margin: 0px auto; position: static;">blah blah blah.</div></div>'
}