I've done something like that... In my bxml I've added:

            <columnHeader>
                <TableViewHeader tableView="$tableView"/>
                                <BoxPane orientation="vertical" 
styles="{fill:true}">
                                <TableViewHeader tableView="$tableView"/>
                                 <TableView bxml:id="tableViewFilter">
                                <columns>
                                <TableView.Column name="nation" width="180"/>
                                <TableView.Column name="gold" width="60" />
                                <TableView.Column name="silver" width="60"/>
                                <TableView.Column name="bronze" width="60"/>
                                <TableView.Column name="total" width="60"/>
                                </columns>
                                <collections:HashMap nation="" gold="" 
silver="" bronze=""
total=""/>
                        </TableView>
                        </BoxPane> 
            </columnHeader>

My main tableView have id="tableView" and in my class:

>Setting the "columnSource" property of this table view to your main table
will keep the table structures in sync: when you resize a column in the main
table, the corresponding column in the header will also be resized.

        @BXML(id="tableView") private TableView tableView;
        @BXML(id="tableViewFilter") private TableView filter;
          .....
                @Override
        public void initialize(Map&lt;String, Object&gt; namespace, URL 
location,
Resources resources) {
        ......
         filter.setColumnSource(tableView.getColumnSource());
        }
Is it right? Or I don't understand you? Because width of columns isn't in
sync.

-----
Thank you!
--
View this message in context: 
http://apache-pivot-users.399431.n3.nabble.com/Filter-in-TableView-tp3215369p3298453.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Reply via email to