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

data-model attribute support in navbar (or layout) for automatic data binding

0 Answers 59 Views
NavBar
This is a migrated thread and some comments may be shown as answers.
Jack
Top achievements
Rank 1
Jack asked on 30 Oct 2012, 04:00 PM
Apparently only views support the data-model attribute for automatic bindings. Please confirm.

I have come across the requirement to set the view title in the navbar according to the data displayed in the view which should be IMO a fairly common requirement. For example, when editing a contact, the navbar would display the contact full name. In such use case, you would use the data-model attribute and get automatic binding on the view, but you would have to explicitly bind the navbar through kendo.bind in your code to get binding on the view title.

It would be nice if the navbar (or the layout) could also support the data-model attribute. I would be happy to post a feature request on uservoice once this is confirmed, but I have no more votes available.

No answers yet. Maybe you can help?

Tags
NavBar
Asked by
Jack
Top achievements
Rank 1
Share this question
or