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.

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
  • grid vertical scroll bar on left #56379

    aserlanger
    Participant

    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?
    Thanks

    grid vertical scroll bar on left #56403

    Peter Stoev
    Keymaster

    Hi aserlanger,

    It is possible. You can see: http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/rtl.htm?arctic

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    grid vertical scroll bar on left #56454

    aserlanger
    Participant

    Thanks, This works although it induces some other oddities by reversing everything,like the side the filter dropdown arrows appear on.

    grid vertical scroll bar on left #56457

    aserlanger
    Participant

    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.

    grid vertical scroll bar on left #56479

    Peter Stoev
    Keymaster

    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 Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    grid vertical scroll bar on left #56585

    aserlanger
    Participant

    I 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.

    grid vertical scroll bar on left #56587

    aserlanger
    Participant

    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.

    grid vertical scroll bar on left #56591

    Peter Stoev
    Keymaster

    Hi aserlanger,

    Sorry, this is not possible.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    grid vertical scroll bar on left #56695

    julioproo
    Participant

    Hi 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

    grid vertical scroll bar on left #56727

    Peter Stoev
    Keymaster

    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 Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    grid vertical scroll bar on left #56752

    aserlanger
    Participant

    For 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>

Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.