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
June 11,
I have the same problem in IE ...
StWinnie
July 12,
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
July 13,
i'm loading all html and javascript related to grid through AJAX ... and column resize do not work in IE ...
StWinnie
July 13,
Hi All,
Did Anyone get a solution for this??
Thanks.
Carlos
Carlos
March 8,
Hello? Same problem here - anyone have any ideas?
May 4,
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
May 4,
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)
May 4,
Well, I like to be a good citizen ;-) Thanks for the note about the uncompressed source! That will make life much easier.
Mike
May 18,