Ok this is almost that I want. But in your solution filters not resizable,
when I resize column header, filters keep thier size. And I want that
appearance be similar row. Is it possible?

But now I have:

http://apache-pivot-users.399431.n3.nabble.com/file/n3298232/ScreenClip.png 
my code is:

<Window title="Table Views" maximized="true"
    xmlns:bxml="http://pivot.apache.org/bxml";
    xmlns:collections="org.apache.pivot.collections"
    xmlns="org.apache.pivot.wtk">
    <Border>
        <ScrollPane>
            <TableView bxml:id="tableView">
                <columns>
                    <TableView.Column name="nation" width="180"
headerData="Nation"/>
                    <TableView.Column name="gold" width="60"
headerData="Gold"/>
                    <TableView.Column name="silver" width="60"
headerData="Silver"/>
                    <TableView.Column name="bronze" width="60"
headerData="Bronze"/>
                    <TableView.Column name="total" width="60"
headerData="Total"/>
                </columns>
 
                
                <collections:HashMap nation="China" gold="51" silver="21"
bronze="28" total="100"/>
                <collections:HashMap nation="United States" gold="36"
silver="38" bronze="36" total="110"/>
                <collections:HashMap nation="Russia" gold="23" silver="21"
bronze="28" total="72"/>
                <collections:HashMap nation="Great Britain" gold="19"
silver="13" bronze="15" total="47"/>
                <collections:HashMap nation="Germany" gold="16" silver="10"
bronze="15" total="41"/>
                <collections:HashMap nation="Australia" gold="14"
silver="15" bronze="17" total="46"/>
                <collections:HashMap nation="South Korea" gold="13"
silver="10" bronze="8" total="31"/>
                <collections:HashMap nation="Japan" gold="9" silver="6"
bronze="11" total="26"/>
                <collections:HashMap nation="Italy" gold="8" silver="10"
bronze="10" total="28"/>
                <collections:HashMap nation="France" gold="7" silver="16"
bronze="17" total="40"/>
            </TableView>
 
            <columnHeader>
                <TableViewHeader tableView="$tableView"/>
                                <BoxPane orientation="vertical" 
styles="{fill:true}">
                                <TableViewHeader tableView="$tableView"/>
                                <BoxPane>
                                        <TextInput prompt="Filter Field 1"/>
                                        <TextInput prompt="Filter Field 2"/>
                                        <TextInput prompt="Filter Field 3"/>
                                        <TextInput prompt="Filter Field 4"/>
                                        <TextInput prompt="Filter Field 5"/>
                                </BoxPane>
                        </BoxPane> 
            </columnHeader>
        </ScrollPane>
    </Border>
</Window>

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

Reply via email to