:: Forum >>

can't resize columns

When I resize a column the header size is changed but the rows below stay in the same position.

Has anyone else run into this problem. I'm using nested div's.
Dave
Saturday, June 11, 2005
I have the same problem in IE ...
StWinnie
Tuesday, July 12, 2005
I have had this as well in mozilla but only sometimes and I can't replicate it just happens now and again. I also get the header resizing when mouse isn't down and I have released mouse button I think this is due to iframes but I can't replicate on home page of site
Wednesday, July 13, 2005
i'm loading all html and javascript related to grid through AJAX ... and column resize do not work in IE ...
StWinnie
Wednesday, July 13, 2005
Us To - any ideas guys?
Ioana and Paul
Monday, July 18, 2005
Hi All,
Did Anyone get a solution for this??

Thanks.
Carlos
Carlos
Wednesday, March 8, 2006
Hello? Same problem here - anyone have any ideas?
Thursday, May 4, 2006
Yeah; this was yet another pain point I had to fix to get this grid into production at our firm. I wish the forums had a better search mechanism. Maybe someone already found this...

Find the following code in aw.js (I'd prefer it was uncompressed and more readable, btw)

function endResize(event)
{
var w=width+event.screenX - start;
w=w > 9?w:9;
var e=self.element();
AW.detachEvent(e,"onmousemove",doResize);
AW.detachEvent(e,"onmouseup",endResize);
AW.detachEvent(e,"onlosecapture",endResize);
AW.releaseCapture(e);

if(AW.gecko){try{e.parentNode.parentNode.scrollLeft=scroll;self.$owner.element().focus()}catch(err){}}

var id=e.previousSibling.id;
if(id.match("header"))
{
self.$owner.setColumnProperty("width",w,self.$0)
}
else if(id.match("topSelector"))
{
self.$owner.setSelectorProperty("width",w)
}
e.previousSibling.style.width="";
e=null;
self.$owner.refresh();
}

You won't have the "self.$owner.refresh();" line; add it and you should be good-to-go. BTW, it's interesting under the commercial license we have to contribute fixes etc back into the project, but there's no obligation to fix things in a timely manner on the other side :-/
Mike O
Thursday, May 4, 2006
Mike,

check this post, it may fix the resizing problem -

http://www.activewidgets.com/javascript.forum.13686.0/fix-cells-do-not-resize.html

BTW, the AW package includes /source folder with full source code, which is more readable and more convenient for debugging than compressed /runtime/lib/aw.js (just change reference to /source/lib/aw.js).

And you don't have to contribute fixes :-) but its sooo nice when you do, thank you!
Alex (ActiveWidgets)
Thursday, May 4, 2006
Well, I like to be a good citizen ;-) Thanks for the note about the uncompressed source! That will make life much easier.

Mike
Thursday, May 18, 2006

This topic is archived.


Back to support forum

Forum search