Re: Problem specifying Grid's cell size

2009-06-30 Thread Sowjanya Yerramneni
Hi, Can anyone help me out explaining how to add a hyperlink in a cell for any grid? I could set simple data into my grid but unable to find out how to add a hyperlink in one of the columns. Please let me know. On Tue, Jun 30, 2009 at 8:21 AM, hezjing wrote: > Hi Ian, > > You example works fi

Re: Problem specifying Grid's cell size

2009-06-29 Thread hezjing
Hi Ian, You example works fine except that I have to include myGrid when setting the styles into the cells like the following: f.setStyleName(0, 0, "myGrid my-Grid-ne my-Grid-border-row my-Grid-border-col"); f.setStyleName(0, 1, "myGrid my-Grid-n my-Grid-border-row"); f.setStyleName(0, 2, "myGri

Re: Problem specifying Grid's cell size

2009-06-29 Thread Ian Bambury
You can apply border-spacing to a table (e.g. your grid) which adjusts the spacing between cells. To get rid of it completely, you need to set border-collapse:collapse to the *table* (not the cells - i.e.not the td elements) I think you can get away with setting font-size on the table/grid and to m

Re: Problem specifying Grid's cell size

2009-06-28 Thread hezjing
Thanks Ian, the problem is resolved by setting the font size really small. Note also that we don't have to set the font size for all the cells, only setting the font size of the 1st row will do. So here is my CSS for the cells in the 1st row: .my-topLeft { background: url(images/wb-corner.png)

Re: Problem specifying Grid's cell size

2009-06-28 Thread Ian Bambury
Yep. There's an   in the cell so you will have to set the font size really small. You'd be better off doing all this by setting style classes and doing it in css. Ian http://examples.roughian.com 2009/6/28 hezjing > Hi > > I want to achieve a rounded corner rectangle using Grid. > > Here I cr