PDA

View Full Version : TreeTable - issue



fother
23 Jan 2009, 10:52 AM
in this example http://extjs.com/explorer/#treetable (I wont copy, paste and replace the code to put in onModuleLoad method)

change to columns order for



List<TreeTableColumn> columns = new ArrayList<TreeTableColumn>();


TreeTableColumn column = new TreeTableColumn("date", "Date", 170);
column.setRenderer(new DateTimeCellRenderer(DateTimeFormat.getMediumDateTimeFormat()));
columns.add(column);

column = new TreeTableColumn("size", "Size", 120);
columns.add(column);

column = new TreeTableColumn("name", "Name", 300);
column.setMinWidth(75);
columns.add(column);

column = new TreeTableColumn("date", "Date", 170);
column.setRenderer(new DateTimeCellRenderer(DateTimeFormat.getMediumDateTimeFormat()));
columns.add(column);

column = new TreeTableColumn("size", "Size", 120);
columns.add(column);


you can see that until render the column defined in



final TreeTableBinder<FileModel> binder = new TreeTableBinder<FileModel>(table, store);
binder.setDisplayProperty("name");


return always the property name.. :-/

fother
28 Jan 2009, 4:36 AM
?

Jose Jeria
28 Jan 2009, 6:17 AM
What is your question?

fother
28 Jan 2009, 6:25 AM
I want discuss.. if its a issue or not what I post

gslender
30 Jan 2009, 2:10 AM
nobody (including me) understands what you are asking

fother
30 Jan 2009, 2:42 AM
I was confused .. and not explain it right .. forget it ..