Hello all,
I have a questions regarding model / page structure for what I am sure is a somewhat common pattern. But I am unable to find an answer for my specific needs.
I have a page that has an autocomplete to "search" for a person. Once that person is selected from the autocomplete, a form is displayed to show the detailed data about that person to be viewed / modified. Most of the data is displayed using simple html inputs and a few datepickers. However there is part of the data structure that displays multiple entries (think locations the person is associated with). This structure is best represented in a grid in my case.
Thus I am wondering if a single view model for the entire page makes most sense? So most of the fields on the page would be bound to say a "person" view model. And within that view model there would be a property that held the data returned from the second service call (after the initial autocomplete selection). So a "person" viewmodel would have a property called "data" and within that data property would be the data for the grid as well "data.locations". However when the grid is modified I am thinking that instead of syncing the entire view model only the grid data would need to be synced. So does that mean two viewmodels?
What is the general consensus for how to best structure this?
Thanks all.
I need to enable-disable "grouping" on my grid.
When I enable it, I change the locked status on my columns, I need to disable all "lockable" status.
When I do that, after, I can't change the visibility of columns.
Based on that demo:
http://dojo.telerik.com/aJEkA/10
Click "enable grouping", then try to show-hide any column with the menu.
You'll get errors in the console.log, and the grid is not working as expected.
It looks like the event raised when the column is changed is trying to find a "locked table" zone, but it no longer exists.
That table was present initially, but was removed when calling setOptions with no locked columns.
Error in: _syncLockedContentHeight / _adjustLockedHorizontalScrollBar - cannot read property 'height' of null in kendo code.
Thank you
Hello,
i had to translate all our adobe flex programms to kendoui. In this flex programms the crud programms work like the following:
On the left side is a grid that is showing the relevant data of the file, on the right on a detail form where you can change (or add and delete) the data.
Because there are a lot of datafields i didn't want to use the popup or inline option to to the crud operations.
My question is no how can i bind the datasource to the grid and my custom form ?
So i am lookin g for an example like that
http://demos.telerik.com/kendo-ui/mvvm/remote-binding
where the dropbox is replace with a grid,
It would be fine if somebody can help here because i am new to kendo.
Regards
Dirk Enders
I've created a kendoMenu and I'm trying to make it "sticky". In other words, I want the menu to stay open unless I click on the menu itself...clicking anywhere outside the menu will not close it.
What is the best approach for doing this? Inside the close event (or somewhere else)? Do you have any examples how I can determine what has been clicked?
Thanks!
