>Somebody please help me with a sample code on how to override the newRowItem 
>method of the AjaxFallbackDefaultDataTable

_dbsTable = new 
AjaxFallbackDefaultDataTable<DnsDomainBuildingSubnet>("dbsTable", dbsColumns, 
dbsProvider, 20)
                {
                        // add a tooltip to each row
                        @Override                       
                        protected Item<DnsDomainBuildingSubnet> 
newRowItem(String id,
                                        int index, 
IModel<DnsDomainBuildingSubnet> model) {
                                
                                Item<DnsDomainBuildingSubnet> item = 
super.newRowItem(id, index, model);

                                String info = "blabla";
                                
                                item.add(new JQueryTooltipBehavior(info));
                                
                                return item;
                        }
                };

>I would like to display some of the columns as links . is this the way to do 
>it?

Add a panel with your links (or whatever content you need) to an AbstractColumn 
and append this to your list of columns (List<IColumn<XX>>)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to