Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

How to make a column of AnchorCell

18 views
Skip to first unread message

tong123123

unread,
Feb 29, 2012, 3:39:27 AM2/29/12
to Google Web Toolkit
I have a table and I want the first column is like a link, when the
user click on that column in a row, the detail is shown.
I know there is no AnchorCell, I google a long time and some suggest
to use ClickableCell but I cannot use css to make it like a link, it
seems the css is not in effect.
what I refernece is
http://stackoverflow.com/questions/4691801/how-can-i-render-a-clickabletextcell-as-an-anchor-in-a-gwt-celltable

answered Jan 17 '11 at 17:47 by ramon_salla

I try to system out the render method, SafeHtmlBuilder sb value as
follow
System.out.println(sb.toSafeHtml().asString());

and the output is normal
<div class="simulatedLink">view</div>
the css of simulatedLink is as follow:
.simulatedLink{
text-decoration: underline;
font-weight: bold;
cursor: pointer;
display: block;
color:red;
}
but when shown in IE browser, the css has no any effect!!

tong123123

unread,
Feb 29, 2012, 4:43:47 AM2/29/12
to google-we...@googlegroups.com
sorry, I found the css is not updated in server, after update, the AnchorCell is worked.
Reply all
Reply to author
Forward
0 new messages