0

I trying to make my first GXT Paging Grid. So do not be strict:-) I render my grid according to example on official site. But buttons in toolbar do not work. When I trying to click on Next btn or Refresh or something else nothing happens. It even so not show alt message or highlight button. I tried to click this button in console with click() command but it's no reaction. I think I need to include some js to html page. Now I have this includes of CSS:

 <link rel="stylesheet" type="text/css" href="gxt/css/gxt-all.css"/>
<link rel="stylesheet" type="text/css" href="samples/css/resources.css"/>

Java code is right. Firstly I wrote it by myself and than I copied it from example to ensure that problem is not in java code. Adding a toolbar.next() load second page on start and than as early I can't change anything. Any ideas?

The same behavior in other widgets. I can't click buttons or edit cells in Editable Grid. Does any scripts that enables GXT components editable/clickable?

4

1 回答 1

0

我发现了问题。它以不正确的方法使用。我把我的代码放在 onAttach 方法中。它应该在构造函数或 onRender 方法中。不要重复我的错误

于 2013-12-23T09:04:44.503 回答