By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,727 Members | 1,255 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,727 IT Pros & Developers. It's quick & easy.

blank cells not showing

P: n/a
How do I get blank cells to show in my dataGrid?

I am databinding to my datagrid, but any cells that are blank, don't show.

Normally, you would put an &nbsp in the cell to make IE display the cell
normally. In other browsers you can use the css statement empty-cells:show.
But this doesn't work in IE.

Thanks,

Tom
Nov 19 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Tom,

What do you mean? What do you want to see at empty cells?

Eliyahu

"tshad" <tf*@dslextreme.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
How do I get blank cells to show in my dataGrid?

I am databinding to my datagrid, but any cells that are blank, don't show.

Normally, you would put an &nbsp in the cell to make IE display the cell
normally. In other browsers you can use the css statement empty-cells:show. But this doesn't work in IE.

Thanks,

Tom

Nov 19 '05 #2

P: n/a
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Tom,

What do you mean? What do you want to see at empty cells?
In IE, if you don't have anything in a cell and you have borders on, the
cells will look different than cells that have something in them.
Typically, you would put a &nbsp; in them. I Mozilla you would can use the
CSS tag "empty-cells:show", but this does not work in IE.

Very irritating with the different browsers. Knowing what css feature will
work or how it will work in each browser.

Anyway, the problem is how do I put a &nbsp in a cell that has no data
coming back (or null) from my Sql Server when dealing with a DataGrid and
it's bound columns when using DataBind? I don't want to have to go through
each cell of each row of the datagrid to find out if it is empty and add an
&nbsp to it.

I was hoping there would be a better way.

Thanks,

Tom
Eliyahu

"tshad" <tf*@dslextreme.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
How do I get blank cells to show in my dataGrid?

I am databinding to my datagrid, but any cells that are blank, don't show.
Normally, you would put an &nbsp in the cell to make IE display the cell
normally. In other browsers you can use the css statement

empty-cells:show.
But this doesn't work in IE.

Thanks,

Tom


Nov 19 '05 #3

P: n/a
As far as I know that what is happening. You always get &nbsp in every empty
cell. Did you view the html source of the page in the browser?

Eliyahu

"tshad" <tf*@dslextreme.com> wrote in message
news:Oy**************@TK2MSFTNGP14.phx.gbl...
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Tom,

What do you mean? What do you want to see at empty cells?
In IE, if you don't have anything in a cell and you have borders on, the
cells will look different than cells that have something in them.
Typically, you would put a &nbsp; in them. I Mozilla you would can use

the CSS tag "empty-cells:show", but this does not work in IE.

Very irritating with the different browsers. Knowing what css feature will work or how it will work in each browser.

Anyway, the problem is how do I put a &nbsp in a cell that has no data
coming back (or null) from my Sql Server when dealing with a DataGrid and
it's bound columns when using DataBind? I don't want to have to go through each cell of each row of the datagrid to find out if it is empty and add an &nbsp to it.

I was hoping there would be a better way.

Thanks,

Tom

Eliyahu

"tshad" <tf*@dslextreme.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
How do I get blank cells to show in my dataGrid?

I am databinding to my datagrid, but any cells that are blank, don't show.
Normally, you would put an &nbsp in the cell to make IE display the cell normally. In other browsers you can use the css statement

empty-cells:show.
But this doesn't work in IE.

Thanks,

Tom



Nov 19 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.