Hi,
I have using XamGantt in my application. I am activating the row of XamGantt programmatically that row show highlighted and selected but this row not visible while scroll attached to screen. So how can i show activated row at centre or middle of screen while vertically scrolling visible? I would like to show the activated row at middle of screen.This problem occurs because a lot of data bind to XamGantt and active row not visible at middle of screen that goes to out of screen. So how can i scrolling selected row to the centre of xamgantt.
Can you pleased provide solution for this and if you have sample code then please share with us
Hello ganesh,
Could you please take a look at the sample that I have attached in my previous post. When a row is activated and selected and it's in the invisible area, that row is automatically scrolled into view as a last one.
Please let me know if you have any issues running the sample.
HiMartinVery thankfull you give me replay my post and take care my post.in my application need to show activted/selected row of xamgantt at middle of xanganttt screen at visible area.Actully in my project ,i selected the row by programatically and if this row at invisible area i.e. at vertical scroll attached and if activated row at bottom then this row have to show in visible area of xamgantt.Please help me about this matter or sent me sample project code about this matter.
Thanks and regard,Ganesh madane
After working on the functionality that you are trying to achieve and doing some research, the ability to position the active/selected row in the minddle of the xamGantt while doing scrolling operation, could not be done. Re-positioning the active/selected row will involve additional work for re-positioning the tasks in the Chart view on the right.
XamGantt component was modeled after MS Project which also does not support re-positioning of active/selected row.
I have created a sample where the last row is activated and selected programmatically after clicking a button. Right after the row is selected, it's automatically brought into view.
Please take a look at the attached sample and let me know if you have any questions on this matter.