I want to provide different views of my data. Ajaxified table is good for multiple-columns view where columns are "name" "title" "address" and so on. The layout I have with the use of a GridView is such that each cell have all informations, so in cell 1,1 displays the entry number 1 with the picture and below a label with "name, title, address" on multiple lines. Cell 1,2 have the second entry and so on. In DataTable a single entry data are spaned over the row. What I want is that all data of a single entry stay in a single cell.
What I expect is to tell my view how many columns I have and a row is created when there is no more column available. This is what a GridView already does. What I want is to obtain an ajaxified component that wraps a GridView like the AjaxFallbackDefaultDataTable does with DataGridView inheriting from DataTable. In this way I Can obtain the ajax-behavior when changing pages and resorting data. On 1/16/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > i dont get what you are trying to describe, can you try again? > > are you trying to ajaxify the gridview? > use datatable to show non-tabular data? > > -igor > > > > On 1/16/07, Daniele Dellafiore <[EMAIL PROTECTED]> wrote: > > > > Hi. I am using a AjaxFallbackDefaultDataTable to display some search > > results and this is good for typical multiple-columns layout. > > I want results also to be displayed in a "grid" layout, where a whole > > single result stays in a single cell (an image and a text label > > below). > > > > I can't figure out how to do with a DataTable but I can do this with a > > GridView but I want the ajaxified version... So I have explored the > > various options wicket offers to display data and I have some > > problems. > > Before starting, I have noticed an error the wiki here: > > http://cwiki.apache.org/WICKET/tables-and-grids.html > > maybe this informations are just out of date? > > > > Back to the problem: DataTable wraps a DataGridView, so my question is: > > there is a way to obtain my desired layout with a DataGridView and so > > from a DataTable? Or, have I to use GridView instead? > > > > I have tried to build a solution following the second way, making a > > sort of DataTable that wraps a GridView, the code is taken from > > original DataTable. This was simple, both GridView and DataGridView > > extends BaseDataView and there are just some different methods > > (setRows instead of setRowsPerPage...) > > Problems arise when I try to make the ajaxified version due to the > > fact that a lot of components used by AjaxFallbackDefaultDataTable > > make direct use of DataTable... This difficoulties to me seem related > > to the fact that inheritance is often used where probably would have > > given more power to user that wanted to extends funcionality and > > behavior of existing classes. Maybe this is just an impression due to > > the fact I am new to wicket... > > > > Any advice is welcome, thanks. > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > > opinions on IT & business topics through brief surveys - and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Wicket-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
