如何设置listgrid过滤器按钮属性? - Smartgwt

时间:2013-10-10 14:22:48

标签: java smartgwt listgrid

使用smartgwt(版本:v9.0_2013-07-03 /仅限LGPL开发) 我需要一个关于如何为列表网格的过滤器设置自定义按钮的示例。 我只是使用新的Button(),但它看起来远离网格,与默认的过滤器按钮不在同一个地方。

我的代码:(“this”指的是我的listgrid)

this.setShowFilterEditor(showFilter);
this.setFilterOnKeypress(showFilter);
this.setFetchDelay(2000);
Button filterBtn = new Button();
filterBtn.setWidth(15);
filterBtn.setTitle("");
this.setFilterButtonProperties(filterBtn);

我没有在按钮上添加任何特殊内容。

1 个答案:

答案 0 :(得分:0)

这似乎是一个错误。 I've postet a TestCase in the SmartClient-Forum.这是唯一可以输入错误报告的地方。