Sorry, to clarify my problem, it does sort initially correctly, but while clicking the header changes the order by arrow (up or down), the sort direction of the data does not change. In fact, my data provider's setSort methods never get called when I click to change the sort.
Thanks, Matt MClark00 wrote: > > Hi, > > I'm trying to mimic the Data Table example in the Repeaters examples, and > can't get the sort to work. I looked at DataTablePage.java, and it looks > like it's just using the stock DefaultDataTable. Once I dug down through > the 1.2.4 code a little, I noticed that the OrderByBorder doesn't actually > implement the sort direction change, which explains why mine doesn't sort. > > My question is: why is the DataTablePage.java sorting correctly? Is it > using 2.X? > > Sorry for the simple question, but I just want to make sure there isn't > some subtlety with the example that I'm missing that I could use in 1.2.4 > to get the sort working. > > Thanks, > Matt > -- View this message in context: http://www.nabble.com/Wicket-Examples---Repeater-View---Data-Table-Example---How-is-it-sorting--tf3016996.html#a8378534 Sent from the Wicket - User mailing list archive at Nabble.com. ------------------------------------------------------------------------- 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
