問題タブ [cellbrowser]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
java - GWT: CellBrowser がコンポジットに表示されない
あなたの助けが必要です。データベースから入力する UiBinder を使用して CellBrowser を作成しました。問題は、InitWidget メソッドを使用して表示できないことです。しかし、それを RootPanel に直接アタッチすると (RootPanel.get().add(cellBrowser); の命令を使用)、表示されますが、コンポジットにアタッチされている他のコンポーネントの上に表示されます (それは本当に混乱します:/ )。HTMLPanel に配置しましたが、機能しません。
コンポジットにアタッチして、他のウィジェットと一緒に表示するにはどうすればよいですか? (他のパネルも試しましたが、うまくいきませんでした:/ )。
これが私のコードです:
UiBinder ファイル:
景色:
TreeViewModel クラス:
私はそれが明確であることを望み、どうもありがとうございました。