tltv / gantt

Gantt Chart Add-on for Vaadin 8
Apache License 2.0
20 stars 23 forks source link

Utilities to delegate vertical scroll position for other components like TreeTable is a possible addition in near future #12

Closed alexeyivanov closed 10 years ago

alexeyivanov commented 10 years ago

It will be great to have such feature

comments from https://vaadin.com/directory#addon/gantt

Alexey Ivanov – May 18, 2014 11:32 AM Hi, is it possible to have tree structure from left side and chart from right side for tasks? Do you have any plan to do it? Similar as for this addon https://vaadin.com/directory#addon/vaadin-gantt-diagram:vaadin Author's response – May 24, 2014 9:34 AM No plans on adding tree stucture like that. But utilities to delegate vertical scroll position for other components like TreeTable is a possible addition in near future.

alexeyivanov commented 10 years ago

When do you expect implement it? We cannot start work with this library without this feature, but we want)

tltv commented 10 years ago

That's the next new feature to do. You can expect it in next couple weeks.

I've planned to add first a new method(s) in Gantt, to be able to just call Gantt.setVerticalScrollDelegation(Table) or Gantt.setVerticalScrollDelegation(TreeTable). Connector would do the magic to handle the scroll delegation correctly. There will be some rules to make it work. For example rows in table and gantt need to have same height.

alexeyivanov commented 10 years ago

Great! Thanks a lot.

tltv commented 10 years ago

This feature is now available in master branch. Supports vertical scroll delegation for Table and TreeTable component via Gantt.setVerticalScrollDelegateTarget(Table) method.

alexeyivanov commented 10 years ago

Thank you very much, I'll try it.