Hello,
I try to do effect in a DataTable:
When user change content column, i need that component autoajust column to content inserted.
Can I do?
Tks
Hello,
I try to do effect in a DataTable:
When user change content column, i need that component autoajust column to content inserted.
Can I do?
Tks
You can use $$(“grid”).adjustColumn(“column_id”);
It will size column based on its content
Okay…
But how do I make event to make this automatic?
If you want to adjust column after data loading, you can set the “adjust” options for column configuration
columns:[
{ id:"title", header:"Film title", adjust:true},
If you want to apply it each time after edit operations - you can use onAfterEditStop event