Hi, I have a little question, I'm using a DataGridView to display dynamic columns in table, each row has modify link, view detail link, and a selecting chckbox that when user select some checkbox and submit delete button, rows with selected checkbox will be deleted.
modify link & view detail link work ok, because I can get each row's object from rowModel in ICellPopulator#populateItem to pass into Link#onClick to modify/view detail of each row. But now I have 3 problems: - with the checkbox I can't get the list of selected row, I try to do DataGridView.getModelObject but it return null, so my question is how can I get list of model object in current page of DataGridView, it take IDataProvider rather than IModel, not like ListView, isn't it used for displaying only not for modifying in form because it does not hold any model and so can't update it's model? - how can I get row index of each row, in ICellPopulator#populateItem(Item cellItem, String componentId, IModel rowModel), both cellItem & rowModel seem to contain no detail of row index. - how to dynamic change style of each row to class="odd"/class="even" up to row index in DataGridView. Thank you, Blackzabaha ____________________________________________________________________________________ The fish are biting. Get more visitors on your site using Yahoo! Search Marketing. http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php ------------------------------------------------------------------------- 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 Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user