Hi there,
We have implemented the scheduler with a Filter column to the right. The structure is set up as:
The behaviour we are experiencing is that on the initial hide of the column, the scheduler correctly expands to be a bigger width. However, when the right column is re-expanded, the scheduler remains at the expanded width and does not collapse at all.
Could you recommend a way of dealing with this?
I originally had 2 DIVs side by side, with the right hand one floated, but had a different but also incorrect behaviour on the re-expand, the Scheduler would expand to 100% width of the browser screen and drop below the right column div.
A solution to either would be fine really!
Thanks
Gavin
We have implemented the scheduler with a Filter column to the right. The structure is set up as:
| <script> |
| function ToggleRightCol(oImg) |
| { |
| var rightCol = document.getElementById('rightCol'); |
| if (rightCol != null) { |
| if (rightCol.style.width != '20px') { |
| rightCol.style.width = '20px'; |
| oImg.src = '_images/backwardGreen.gif'; |
| } |
| else { |
| rightCol.style.width = '230px'; |
| oImg.src = '_images/forwardGreen.gif'; |
| } |
| $find("oSched").repaint(); |
| } |
| } |
| </script> |
| <table cellspacing="0" cellpadding="0" style="table-layout:fixed;width:100%"> |
| <colgroup> |
| <col valign="top" /> |
| <col valign="top" style="" /> |
| </colgroup> |
| <tr> |
| <td><telerik:RadScheduler ID="oSched" runat="server" .... ></telerik:RadScheduler></td> |
| <td id="rightCol" style="width:230px;overflow:hidden;"> |
| <div><img src="_images/forwardGreen.gif" onclick="javascript: ToggleRightCol(this);" alt="Show/Hide" /> |
| </div> |
| <telerik:RadCalendar runat="server" ID="RadCalendar1" .... ></telerik:RadCalendar> |
| <asp:Panel runat="server" ID="dvFilter"> |
| </asp:Panel> |
| </td> |
| </tr> |
| </table> |
The behaviour we are experiencing is that on the initial hide of the column, the scheduler correctly expands to be a bigger width. However, when the right column is re-expanded, the scheduler remains at the expanded width and does not collapse at all.
Could you recommend a way of dealing with this?
I originally had 2 DIVs side by side, with the right hand one floated, but had a different but also incorrect behaviour on the re-expand, the Scheduler would expand to 100% width of the browser screen and drop below the right column div.
A solution to either would be fine really!
Thanks
Gavin