Hi Manik,

Try to set Cellpadding and Cellspacing to zero. It should work!

On Jun 18, 7:02 am, Suren <[email protected]> wrote:
> Hi Manik,
>
> I did exactly what here you mentioned, but still I can see the space
> occupied at the top and bottom for the table border, even though now
> the border is not visible(as I gave 0px in CSS)
>
> So what happening in IE, when I view my application is that, the
> cursor placed at the slightly below than the expected height and the
> bottom of the cursor is not visible.
>
> I adjusted the cell height accordingly, but still I cannot remove the
> space above and below the cursor in the textbox which is meant for the
> border.
> I simply want the textbox to fit 100% in the cell, so that it would
> give the feel to the user like they are editing the cell and not to
> typing something in the textbox as such. I hope you understood.
>
> So any help again?
>
> Thanks
> Suren
>
> On Jun 18, 10:32 am, Manik Chand <[email protected]>
> wrote:
>
>
>
> > get width and height of cell from the CellFormatter and set this to TextBox.
>
> > also set border of textbox to zero width using CSS style.
>
> > On Thu, Jun 18, 2009 at 10:17 AM, Suren <[email protected]> wrote:
>
> > > Hi All,
>
> > > I am having a Grid, in which I made few cells editable.
>
> > > When a user double clicks on those cells, I am adding a widget Textbox
> > > to that cell by copying the text from the cell into that textbox.
>
> > > Now, the textbox height and width are not close to the cell's height
> > > and width, so it doesnt look good.
>
> > > I need to set the textbox's height and width to align with the Grid's
> > > cell.
>
> > > How can I acheieve this?
>
> > > kindly help me in this regards
>
> > > Thanks in advance
>
> > > Suren

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to