Hi Michal,
Thanks for contacting Syncfusion support.
You can add new column to the existing grid column using the columns property as follows.
<ejs-grid ref='grid' :dataSource="data" :allowPaging='true' :dataBound="dataBound">
. . . .
</ejs-grid>
this.$refs.grid.columns.push({ field: 'CustomerName', headerText: 'Customer Name', width: 150 })
this.$refs.grid.columns = [...this.$refs.grid.columns]; //Assign the new set of columns to the columns property
|
If this didn’t helped please get back to us with more information on your requirement.
Regards,
Madhu Sudhanan P