Hi,
I try to achieve feature, where the user can select multiply rows in the grid (e.g. to open a 'multi-edit' dialog), and additionally there should be displayed details for the currently selected item (generally - the currently clicked one).
I'm trying the following snippet:
var tmpCurrent = e.sender.current(); // this seems to be set to some object
currentItem: kendo.data.ObservableObject;
currentItem = e.sender.dataItem(tmpCurrent); //this is always null
Another question - is there any way to get the class object the datasource was initially filled with from the ObservableObject?
In a datasource's transport read function I prepare the array of DictionaryKey objects and then pass as the success result:
options.success(this.dictionaryKeys);
Is there any option to get those object when reading the select() items? This will be much easier to write in TypeScript having an instance of known class instead of using get("prop_name") construction in the code...
Best regards
Marcin Danek