Re: invisible table columns



my.shabby.sheep@xxxxxxxxx wrote:
I want to do the following. I want to make a table column invisible
to the screen, but I still want to be able to get the innertext that
would have been stored in the cell for certain operations. What would
be the best way to do this.
I currently added an invisible attribute to the column tag. Please
help

This is more of a CSS solution than JavaScript, but you could set the style to "display: none". That would hide the column from the screen but it would still exist in the DOM.

--
Joe Attardi
jattardi@xxxxxxxxx
.



Relevant Pages

  • RE: innertext, javascript, datagrid, database update
    ... > in the datagrid cell. ... I am just loading the cells innertext with the users id ... > What I want to have happen is when they "update" the page via a postback ... >>> when a user presses a button, or edits a certain field in a datagrid, another ...
    (microsoft.public.dotnet.framework.aspnet)
  • new line in innerText not preserving when xml is opend in Excel
    ... I need to set innerText of a cell element like "line1\nline2" in XML. ... When I open the xml file in Excel new line in that cell is missing. ...
    (microsoft.public.dotnet.xml)
  • Re: How to add   in runtime
    ... I suspect you're having trouble because you're using InnerText rather than ... InnerHtml on your HtmlTableCell. ... >>> I'm trying to set top and bottom border for each cell by using ... >>> and it works as far as cell has some text in it. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: invisible table columns
    ... but I still want to be able to get the innertext that ... would have been stored in the cell for certain operations. ... Thats not a bad idea but I not to familiar with style sheets. ...
    (comp.lang.javascript)
  • RE: innertext, javascript, datagrid, database update
    ... You need to have controls in the cell. ... I am just loading the cells innertext with the users id ... >>> when a user presses a button, or edits a certain field in a datagrid, another ...
    (microsoft.public.dotnet.framework.aspnet)