jQWidgets Forums
jQuery UI Widgets › Forums › Grid › grid vertical scroll bar on left
This topic contains 10 replies, has 3 voices, and was last updated by aserlanger 10 years, 10 months ago.
-
Author
-
Is there a way to position the grid vertical scroll bar on the left hand side? I know thats not standard but need to do it nonetheless.
If thats not possible, is there sample code somewhere of manually placing one on the left and syncing it with the grid scroll bar?
ThanksHi aserlanger,
It is possible. You can see: http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/rtl.htm?arctic
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comThanks, This works although it induces some other oddities by reversing everything,like the side the filter dropdown arrows appear on.
Onfurther investigation, the side effects of rtl amke the grid too nonintuitive for a user – filter dropdowns are on the wrong side of a column for example. I will investigate syncing another scroll bar so I have one on both sides = hope this is possible.
Hi aserlanger,
Setting the “rtl” will mirror the Grid’s Layout which is expected in Right to Left layout mode. I supposed that you wanted to achieve right to left layout due to the reason that vertical scrollbar on the left probably should be displayed only in Right to Left mode. Otherwise, it would be non-intuitive for the users.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comI understand – however my requirements are that the grid should act as it does normally, but with a vertical scroll bar on the left. I could have scroll bars on both sides, and that would be ok. Are there events that allow me to track the hanges in teh defaiult scroll bar? Also I dont see a property that tells me what the upper bound on the scroll bar is.
Actually, if i could access the verticalscrollbar in the grid that wold let me do what i want – process changes, get and set min and max, etc. I see references to this.verticalscrollbar in the grid code -but i tried a few variations of getting the valuechanged event for it with no success. Is this possible? This would really be a generally valuable thing to make accessible if not.
Hi aserlanger,
Sorry, this is not possible.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comHi Peter I have built a Grid with and one of the lines, and create a dropdownlist editor CreateEditor, everything works perfect, but would like to have access to “select” the dropdownlist, event to know when one of the items loaded at the time of be selected from dropdownlisteditor, is it possible to access this “select” from dropdownlist created CreateEditor in a Grid? event. regards, July Nuñez
Hi julioproo,
Define the “createeditor” callback of your column. As you can see from the demos, inside the function’s body you have access to the DropDownList editor’s instance. There you can bind to DropDownList’s event in the same way as it is demonstrated in the jqxDropDownList’s API page.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comFor anyone else following original topic – found the fix which is simple. Use float left on both div sections as in
<div style=’float: left’ id=’jqxVerticalScrollBar’></div>
<div style=”margin-left: 8px; float: left” id=”jqxgrid”></div> -
AuthorPosts
You must be logged in to reply to this topic.