Hi
I have a project that I want to do in svelte, and I need to integrate the grid, treegrid and more components, but I have no idea how to do it, could you please help me
Thanks in advance!
Hi Pon Selva
Thanks for your kind reponse!
I am checking the source code, but I can´t find where datasource is?
dataSource:sampleData
<script>
export const tree = new ej.treegrid.TreeGrid({
dataSource:sampleData,
childMapping: 'subtasks',
height: 450,
allowPaging: true,
pageSettings: { pageSize: 10 },
treeColumnIndex: 1,
columns: [
{ field: 'taskID', headerText: 'Task ID', width: 70, textAlign: 'Right' },
{ field: 'taskName', headerText: 'Task Name', width: 200, textAlign: 'Left' }
]
});
tree.appendTo("#TreeGrid");
</script>
I will be reviewing your sample code carefully
Thanks for your help!