Re: How to add image to table column and how to change image this on click?
Thanks EC. It worked! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-add-image-to-table-column-and-how-to-change-image-this-on-click-tp2996263p3001181.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
Re: How to add image to table column and how to change image this on click?
Column Name Simple HTML/CSS, no need to code. On Fri, Oct 15, 2010 at 12:27 PM, gouthamrv wrote: > > I have another question, If I want to make the complete column header as > clickable, how do I do that. > > That is, currently it supports only clicking on column name, but I want to > have option to click anywhere on that table column header for sorting. > > Is it possible? >
Re: How to add image to table column and how to change image this on click?
If you don't mind doing it in javascript, just add an onclick to the header that "clicks" the link. Jeremy Thomerson http://wickettraining.com -- sent from my "smart" phone, so please excuse spelling, formatting, or compiler errors On Oct 15, 2010 2:27 PM, "gouthamrv" wrote: Yes this worked! Thank you very much. I have another question, If I want to make the complete column header as clickable, how do I do that. That is, currently it supports only clicking on column name, but I want to have option to click anywhere on that table column header for sorting. Is it possible? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-add-image-to-table-column-and-how-to-change-image-this-on-click-tp2996263p2997566.html Sent from the Users forum mailing list archive at Nabble.com. -...
Re: How to add image to table column and how to change image this on click?
Yes this worked! Thank you very much. I have another question, If I want to make the complete column header as clickable, how do I do that. That is, currently it supports only clicking on column name, but I want to have option to click anywhere on that table column header for sorting. Is it possible? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-add-image-to-table-column-and-how-to-change-image-this-on-click-tp2996263p2997566.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
Re: How to add image to table column and how to change image this on click?
Hi, If I understand you correctly, you need to add ordering direction images it a table header. This can be done with CSS for instance: .wicket_orderUp, .wicket_orderDown, .wicket_orderNone { text-decoration: underline; padding-right: 15px; background-repeat: no-repeat; background-position: right; } .wicket_orderUp { background-image: url(icons/arrow-up.png); } .wicket_orderDown { background-image: url(icons/arrow-down.png); } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-add-image-to-table-column-and-how-to-change-image-this-on-click-tp2996263p2996430.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
How to add image to table column and how to change image this on click?
I am creating table with AjaxFallbackDefaultDataTable. I want to add image to each column and when user clicks any column for sorting, I want to change this image. Is this is possible? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-add-image-to-table-column-and-how-to-change-image-this-on-click-tp2996263p2996263.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