Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: Complex Datagrid Header
02-24-2009, 04:21 PM #1
- Join Date
- Feb 2009
- Thanked 0 Times in 0 Posts
Complex Datagrid Header
I have a datagrid(A)that renders a VBox having some text fields and a datagrid(B). There is only one column in DataGrid A, the renderer. The grid B has headers switched off. The grid A needs to display the header that B is supposed to display with all usual functions like sorting on click on the header, drag drop colums etc.
I tried writing a header renderer as a HBox of all the labels for grid A. But handling the width, sorting etc is becoming really complicated.
I bumped into the DataGridHeader class, that is the default header. Can I extend that and provide the feature that I want to do. I do not see any examples that extend the header on google.
Any other solution/suggestion is also welcome.
Thanks in Advance,