Even I am facing the same problem. I have to create a preview pane with the
list view that can be hidden and shown on the click of a menu button
(something like the outlook/yahoo mail beta preview feature).. and when the
preview pane is in hidden mode, the listview is resized to the maximum
available height and pulled up when the preview pane is enabled.
I have made the logic for the same which i am listing below:
var preview_action = new QxCommand("Ctrl+W");
preview_action.addEventListener("execute", function(e) {
if (mb3_01.getChecked()) //this is a menu check button, jst to
check wat
operation to perform
{
alert("Preview Enabled");
lv.setHeight(355); //shortens up the listview pane
w1.show(); //w1 is the preview iframe.
alert(lv.getHeight()); // returns correctly the new
height.
}
else
{
w1.hide();
lv.setHeight(screen.availHeight-220); //resizes the
listview to the max size of screen
alert("Preview Disabled");
alert(lv.getHeight()); // returns correctly the new
height.
}
});
The preview pane(w1 in code above) is ok.. it does as it shud. BUT the
listview goes kuckoo.. it does not gets resized though the
alert(lv.getHeight()); returns the new value of height correctly. Moreover,
the rows of the listview gets clipped without any reason..
Can anyone please help me out and tell me wat all is going on and how can i
correct my problem??
BTW, very nice toolkit..
Regards,
Prateek
--
View this message in context:
http://www.nabble.com/QxListView-Don%27t-Render-tf1896838.html#a5196996
Sent from the qooxdoo-devel forum at Nabble.com.
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel