Hi Team,
As I am developing the application there I had a requirement that I need to add some content above the individual row separate custom data I have to insert in the data grid. Please provide me with the solution to do the same.
For reference i have attached screenshots
The screenshot1(with custom content above the row) is the same that I need to achieve in screenshot2 (without custom content)
Screenshot1
Screenshot2
Thank you,
Punith BN
Hi team,
As I mentioned I need to add custom data above every row in the data grid.
1) With the anchor link ( + sign) left corner of the data grid of the custom data section which is to collapse the row cell(data) as shown in the video attached.
2) Buttons are there as per the requirement of the project i.e. is to perform some actions that are present in the custom section as shown in the video attached.
Please provide the solution for the query I have mentioned above asap.
Regards,
Punith BN
Hi Team,
Thanks for your response to the issue in / Grid / Hierarchical Binding.
But as I am working in the Datagrid i.e. Hierarchical Binding, there in childGrid Object I need to customize the Grid using header template feature.. how to achieve in this Hierarchical Binding.
for eg:
<e-column field='EmployeeID' headerText='Employee ID' width='120' textAlign='Right' :headerTemplate='employeetemplate'></e-column>
employeetemplate: function() { return { template: Vue.component('employeetemplate', { template: `<div><span class="e-icon-userlogin e-icons employee"></span> {{emp}}</div>`, data: function () {return {emp: 'Emp ID'};} }) }
But same I need to do it childGrid columns in Hierarchical Binding shown below.
Can u please help to achieve this feature.
Thanks & Regards,
Punith BN
|
{
field: 'ShipName',
headerText: 'Ship Name',
headerTemplate: "<div>Ship Name ## </div>",
width: 150,
},
|
|
var itemVue = Vue.component("itemTemplate", {
template: `<div>Ship City ## </div>`,
data() {
return {
data: {},
};
},
});
----
{
field: "ShipCity",
headerText: "Ship City",
headerTemplate: function () {
return { template: itemVue };
},
width: 150,
}
|