PDA

View Full Version : treegrid problem -> the column which render by TreeGridCellRenderer is overflow



bird1982
16 Dec 2010, 1:39 AM
i defined column as follow
TextField<String> text = new TextField<String>();
ColumnConfig task = new ColumnConfig("task", "task", 110);
task.setRenderer(new TreeGridCellRenderer<ModelData>());
task.setEditor(new CellEditor(text));
but when i write a lot Characters in the textfield
the over part is not hidden,but over the next column
please see the attach file and help me
thank you!
23852

sven
16 Dec 2010, 1:41 AM
Works fine here in FF for me: http://www.sencha.com/examples/explorer.html#editortreegrid
Can you please post a fully working testcase implementing EntryPoint for this?

bird1982
16 Dec 2010, 1:56 AM
thanks very much
my source is very similar with the samples
my Environment is eclipse 3.6, with gwt for 3.6 and gxt2.2.1
in my source [setLayout(new FlowLayout(10));] is unuse
but RootPanel.get("treeGridContainer").add(cp); is added
no other different.

sven
16 Dec 2010, 1:57 AM
Please post a fully working testcase implementing EntryPoint. I dont understand what your two codelines should tell me.

bird1982
16 Dec 2010, 2:05 AM
ok,as the sample,i commit the function onModuleLoad ,Is still inadequately?or i proposed all project source?
23853

bird1982
16 Dec 2010, 4:12 AM
i did a little debug for this case
the render column will be overflow other columns are no problem.
Treegridcellrenderer render such methods may have problems
anybody who can help me?