Oops, It was my fault with not working editor... It works fine.. 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"
    xmlns:content="org.apache.pivot.wtk.content">
    <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"/>
                                 <TableView bxml:id="tableViewFilter"
columnSource="$tableView">
                                <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>
                                
                                <rowEditor>
                                                        
<content:TableViewRowEditor editEffect="horizontal_slide">
                                                                <cellEditors>
                                                                        <nation>
                                                                                
<TextInput textKey="nation"/>
                                                                        
</nation>
                                                                </cellEditors>
                                                        
</content:TableViewRowEditor>
                                                </rowEditor>
                                
                                <collections:HashMap nation="" gold="" 
silver="" bronze=""
total=""/>
                        </TableView>
                        </BoxPane> 
            </columnHeader>
        </ScrollPane>
    </Border>
</Window>

But how can I exlude a deviation of editor in my filter table?

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

Reply via email to