I have a datagrid with more than 70 columns (with few fixed). I dont want the scrollbar to appear in datagrid (both horizontal and vertical) but in the parent container which is a VBox (or canvas) instead. This will help to scroll the screen vertically without having to scroll all the way right in datagird to scroll vertically. Thanks Guys.
Asked
Active
Viewed 474 times
2 Answers
0
Got it working. Wrapped the datagrid inside a VBox with its height and width as 100% and then set the width and height of datagrid (at runtime) as little less than its parent container's width and height.

Tintin
- 2,853
- 6
- 42
- 74
0
Jus take out the scrollable policy..horizontal..vertical...and if u using padding in top and bottom take that too... and keep only...`
height ="100%" widht="100%"
I hope this part is enough... will works Fine and Good Dude! CheckOut.....!

ConquistadorAravinth
- 272
- 1
- 2
- 15