Re: datagrid "can grow" ?
From: Ben Strackany (infoNOSPAM_at_developmentnow.nospam.com)
Date: 12/21/04
- Next message: DalePres: "Tabstrip not rendering..."
- Previous message: cp: "Re: multiple validators on textfield w/display=dynamic don't display correctly"
- In reply to: Nick Stansbury: "Re: datagrid "can grow" ?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 21 Dec 2004 17:08:52 -0600
Nick,
You can of course get rid of grid layout. You could also put the datagrid &
all the controls below it into the same flow layout panel. Lastly, you could
use some javascript trickery to move items lower depending on the size of
the datagrid. The javascript would read the style.height &
style.offsetheight of the datagrid's DIV, then set the style.top value of
the DIV(s) containing the controls to that value + some number.
-- Ben Strackany www.developmentnow.com "Nick Stansbury" <nick.stansbury@sage-removepartners.com> wrote in message news:ucBUbC35EHA.2016@TK2MSFTNGP15.phx.gbl... > Hi, > > It doesn't really help - you can place the dgrid inside a flow layout > panel without much effect - the panel grows, but the panel itself simply > overlaps with controls below. The only solution I've found is to use grid > layout panel's to "wrap" around the datagrid - then the grid layout panel is > moved down by the datagrid and everything else moves with it > > Nick > > > "Niraj Ranka" <nirajranka@gmail.com> wrote in message > news:eWv$6U25EHA.2876@TK2MSFTNGP12.phx.gbl... > > Hello, > > Why don't you try to use the flow layout panel... or grid layout panel > (html > > control)... > > I think this may help.. > > > > Niraj Ranka > > > > "Nick Stansbury" <nick.stansbury@sage-removepartners.com> wrote in message > > news:edh1%23so5EHA.2428@TK2MSFTNGP14.phx.gbl... > > > Hi, > > > > > > I've developed a series of custom controls that use or extend the > > > datagrid control. Obviously however I have the same old problem with > grid > > > layout as opposed to flow layout - when the datagrid is initialised > > instead > > > of pushing everything below it further down it simply overlaps with any > > > controls that are below (i.e. y axis not z axis). it, which inclused > other > > > datagrids. Now is there anyway around this? I've tried enclosing each > one > > in > > > a flow layout panel - but obviously the panel just geows and overlaps > each > > > control. > > > > > > What should I do (other than give up with grid layout!). > > > > > > Thanks in advance for any pointers.... > > > > > > Nick > > > > > > > > > > > >
- Next message: DalePres: "Tabstrip not rendering..."
- Previous message: cp: "Re: multiple validators on textfield w/display=dynamic don't display correctly"
- In reply to: Nick Stansbury: "Re: datagrid "can grow" ?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|