KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm trying to convert a cellTable into a datagrid , because I want to add a search handler later and therefor I need fixed column headers. At the moment I extend the celltable / datagrid class and put the widget into a simplelayoutpanel and add this to my tabpanel . If I use the celltable , all works fine and the data shows up. If I change the type of the class to datagrid , the data shows sometimes up (The column names are always there). To add something to the table I used setRowData or a dataProvider . If I set breakpoints to delay the loading of the table content, the table does sometimes contain data. If I later call the redraw method for the table, the table shows the correct information. But the table should load automatically the content. At other "positions" of my project I used the datagrid also and it worked in Dialogboxes . I think there must be a bug with the drawing of the items, because if I call .getRowCount on the table or the deprecated .getDisplayedItems , it returns me the correct number of items which should be in the table. Also if I add a selection model to the table and select a item, the item contains valid data.
Tags (comma-separated)
Save Edits
Cancel