Hi Thanks for your replies. 

what i ment from not working was it doesnt give any compilation errors or
runtime errors but simply it doesnt show the table as in the html. 

I tried implementing the basics of DataTable just to try out. here's my
code. 

List<IColumn&lt;TestData,String>> columns = new
ArrayList<IColumn&lt;TestData,String>>();
        
columns.add(new PropertyColumn<TestData, String>(new Model<String>("Name"),
"o.name")
        {
            @Override
            public String getCssClass()
            {
                return "sampleCss";
            }
        });

table = new DefaultDataTable<OfferData,
String>("OffersTable",columns,dataProvider,5);
table.setOutputMarkupId(true);
table.addTopToolbar(new AjaxFallbackHeadersToolbar(table, dataProvider));

i have this code inside a panel and i'm adding the panel to my page. when i
inspected the generated html i cant find any tabel elements. the column
headers are shown inside span tags.  and also the css classes are not
applied to the columns as well. 

what am i doing wrong in here. 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Extending-the-DataTable-class-doesnt-work-tp4664952p4664956.html
Sent from the Users forum mailing list archive at Nabble.com.

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

Reply via email to