Hi everyone, I am passing a DataGrid to a bit of Client side script. Everythinmg seems to be intact i.e. number of rows, columns, heading etc. but for some reason the offsetWidth is always always zero. this is my script: <script language="javascript"> </script>
This code is from an older thread, which illustrates how to produce fixed headings for a scrolling DataGrid. I can see how the code works but on debugging it the offsetWidth always returns zero. I have played with setting column widths etc. to no avail. Any
help would be really appreciated. Many thanks Ian
BEING IN THERAPY
And yet, having therapy is very much like making love to a beautiful woman. You... get on the couch, string 'em along with some half-lies and evasions, probe some deep dark holes, and then hand over all your money.
Hi Here you go: protected Opal.Portal.Controls.PortalDataGrid Alarm; For what its woorth I have created a server side table now so I can generate the headers at compile time. Ian
BEING IN THERAPY
And yet, having therapy is very much like making love to a beautiful woman. You... get on the couch, string 'em along with some half-lies and evasions, probe some deep dark holes, and then hand over all your money.
LordFonty
Member
40 Points
8 Posts
DataGrid offsetWidth on cells
Aug 01, 2003 08:52 AM|LINK
And yet, having therapy is very much like making love to a beautiful woman. You... get on the couch, string 'em along with some half-lies and evasions, probe some deep dark holes, and then hand over all your money.
JimRoss [MVP...
Star
10080 Points
2008 Posts
Re: DataGrid offsetWidth on cells
Aug 01, 2003 01:45 PM|LINK
MS MVP ASP.NET [VC++/MFC emeritus]
Old Dog Learns New Tricks
Preferred programming language: cuneiform on clay tablets
LordFonty
Member
40 Points
8 Posts
Re: DataGrid offsetWidth on cells
Aug 01, 2003 01:57 PM|LINK
And yet, having therapy is very much like making love to a beautiful woman. You... get on the couch, string 'em along with some half-lies and evasions, probe some deep dark holes, and then hand over all your money.