Hi,
When I edit an activity in my gantt I have many fields in the popup edit including a multiselect. This multiselect should be different for each activity.
For load the datasource I put the code below in my function Gantt edit :
<p> $.get('/Activity/ReadMultiSelectActivities?initiativeId=' + @Model.ID + '&excludeSectorId=' + $('#SectorID').val() + "&activityID=" + e.task.id, function (data, status) {<br> allActivitiesDataSource = new kendo.data.DataSource({<br> data: data.Data,<br> group: { field: "SectorName" },</p><p> sort: { field: "ActivityNumberString", dir: "asc" }<br> });<br>});</p>When I go the first time on my edit activity the list is empty but if I go an second time the list is OK. Then if I go on an other activity, the previous list is displayed.
It's like my list is charge after the display of my popup edit.
I try many things. Like use refresh(), data.read(), put some code in the multiselect Databound... But nothing work!
Do you know how to do it please?
Thanks for advance
