jQWidgets Forums

jQuery UI Widgets Forums Editors ScrollBar, Slider, BulletChart, RangeSelector Verical Scrollbar inside panel ?

This topic contains 3 replies, has 2 voices, and was last updated by  Peter Stoev 13 years, 2 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Verical Scrollbar inside panel ? #2575

    mirroras
    Participant

    Hi Team,

    i modified your example nested-splitters.htm.

    I would like to add a verical scrollbar in the first panel but javascript errors occurs. I am using latest firefox

    Error: this.btnUp.jqxRepeatButton is not a function
    Source File: file:///C:/jqwidget_1.7/jqwidgets/jqxscrollbar.js
    Line: 6

    I am sending you the source code :

    This demonstration shows a complex layout implementation that shows nesting multiple splitters.

    $(document).ready(function () {
    var theme = ”;
    $(‘#mainSplitter’).jqxSplitter({ theme: theme, width: ‘100%’, height: 800, orientation: ‘horizontal’,
    panels: [{ size: 150 }, { size: 300 }, { size: 170}] });

    $(“#jqxPanel”).jqxPanel({ width: ‘100%’, height: 70, theme: theme });
    });

    1111 2222 3333 44444 5555555 666666 77777 88888 9999
    CENTER
    South

    Verical Scrollbar inside panel ? #2576

    Peter Stoev
    Keymaster

    Hi mirroras,

    1. I suppose that you did not referenced all the required javascript files such as the (jqxbuttons.js). The jqxRepeatButton is implemented in the jqxbuttons.js

    2. The jqxPanel supports only fixed size. So it is not possible to set its ‘width’ or ‘height’ to a percentage value. You can set it to pixels only.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Verical Scrollbar inside panel ? #2589

    mirroras
    Participant

    oh yes, you are totally right !!!

    I didn’t know that i need the jqxbuttons.js, so i removed it. Thanks again. Perfect Suite !

    Verical Scrollbar inside panel ? #2590

    Peter Stoev
    Keymaster

    Hi mirroras,

    The jqxbuttons.js should be loaded because of the jqxPanel’s horizontal and vertical ScrollBars. The scrollbar’s arrow buttons are jqxRepeatButton instances.

    Best Regards,
    Peter Stoev

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

You must be logged in to reply to this topic.