Hi everybody,
I'm trying to use Listgrid with complex datasource.
Each cell of my grid must display a random number of box with multiple line(Room,Training Title,Begin hour,Trainee list).
Example :
Room 419
Gwt lesson
john Doe1
John Doe2
...
I know that its look like a calendar but this "calendar must display data for different trainer.
Representation is defined by :
Column : Trainers
Row : Day
For one day and one trainer we could have multiple box(as described before).
I've looked the Multiline Values and the GridCellWidget example and I've tried to make a mix of these examples.
In each cell I display data in a VerticalLayout.
This data is an Html flow with span for texte.
This flow is stored in a HtmlPane and the pane is included in the vertical layout.
Data is displayed,but there is a problem with cell height.
I use this code in order to support multiline cell :
But my cells overflow other cells.
Does the use of ListGrid a good idea in order to realise my application part?
If you use widgets in cells, what do you do in order to display many item in a cell(verticaly)?
I'm using SmartGwt 2.2 and Gwt 2.0.3
Tested on Chrome 6 and Firefox 3.6
I'm trying to use Listgrid with complex datasource.
Each cell of my grid must display a random number of box with multiple line(Room,Training Title,Begin hour,Trainee list).
Example :
Room 419
Gwt lesson
john Doe1
John Doe2
...
I know that its look like a calendar but this "calendar must display data for different trainer.
Representation is defined by :
Column : Trainers
Row : Day
For one day and one trainer we could have multiple box(as described before).
I've looked the Multiline Values and the GridCellWidget example and I've tried to make a mix of these examples.
In each cell I display data in a VerticalLayout.
This data is an Html flow with span for texte.
This flow is stored in a HtmlPane and the pane is included in the vertical layout.
Data is displayed,but there is a problem with cell height.
I use this code in order to support multiline cell :
Code:
grid.setWrapCells(true); grid.setFixedRecordHeights(false);
Does the use of ListGrid a good idea in order to realise my application part?
If you use widgets in cells, what do you do in order to display many item in a cell(verticaly)?
I'm using SmartGwt 2.2 and Gwt 2.0.3
Tested on Chrome 6 and Firefox 3.6
Comment