- How to use colspan for comment input tag?
- How to add scrollX and scrollY to table?
snippet: http://webix.com/snippet/4571b3e5
Thanks!
i figured out 2. question. i used view: “scrollview”. I have additional question. How to pdf all of the table?
Can you please clarify your first question? Do you want to apply the value of the “comment” input to the colspan?
All export features you can find here. Unfortunately, there’s no way to export the footer.
yes, thanks!
Well, it depends on where you want to add a colspan.
Basic implmentation is
var item = table.getSelectedItem();
if (item){
table.addSpan(item.id, "columnID", 2, 1, $$("text").getValue());
//adding colspan to the current row (data item)
table.refreshColumns();
};
But if you want to add an additional row with a comment, the solution becomes more complex and less handy:
http://webix.com/snippet/d0dfe2f5
If you are using Webix Pro, you can define subrows for comments: