09-07-2017 05:09 AM
Hello,
How can I add new list but with data from another.
ForExample, I have EventList. But in my CustomEventList I need only columns (Name, DateStart, DateEnd).
And when I add new item to EventList I want see it in my CustomEventList.
Is it possible? And if yes, how to set this ref in my CustomEventListModel?
10-18-2017 02:31 AM
The problem was solved.
Now, I have two DataLists with tasks. On the first picture (first DataList) you can see all tasks and Gant Diargam. On the second picture (second DataList) you can see not completed tasks from the the first DataList. And also I configured comments column. That's the result I needed.
Best Regards.
09-08-2017 11:12 PM
Hello.
I tried, but I couldn't understand what exactly you want to do.
Can you elaborate?
09-15-2017 02:34 AM
Hello,
I have DataList with name pjt:TaskList in myModel.xml. It has 5 columns: pjt:tlName, pjt:tlDiscription, pjt:tlDateStart, pjt:tlDateEnd, pjt:tComment.
Then I create new DataList with name pjt:customTaskList in myModel.xml with name pjt:CustomTasks with Columns:
pjt:ctlName and pjt:ctlDiscription.
And in my customTaskList I can't add new row, the aim only to display data from TaskList.
As a result I want to have two DataLists with the same data but with different collection of columns.
I found file entity-datagrid.js, where we populate datalistColumns according to selected dataList. But I can't find function, where we download data to selected datalist.
Or maybe I'm wrong and I must do it in another way.
10-05-2017 02:55 PM
Sorry, but it is still not clear enough for me to try to help you.
10-18-2017 02:31 AM
The problem was solved.
Now, I have two DataLists with tasks. On the first picture (first DataList) you can see all tasks and Gant Diargam. On the second picture (second DataList) you can see not completed tasks from the the first DataList. And also I configured comments column. That's the result I needed.
Best Regards.
Explore our Alfresco products with the links below. Use labels to filter content by product module.