Results 1 to 4 of 4

Thread: Apply custom scrollbar to Extjs project and override "renderContent"

  1. #1
    Sencha User
    Join Date
    Jul 2017
    Posts
    6
    Answers
    1

    Default Apply custom scrollbar to Extjs project and override "renderContent"

    Hi everyone,


    I'd like to apply malihu custom scrollbar (http://manos.malihu.gr/jquery-custom-content-scroller/) into Extjs project to make the scrollbar looks like the same for cross-browsers (Chrome, Firefox, IE11).
    But I don't know how can I easily apply it. I think maybe I should override Ext.Component, so that this custom scrollbar will be applied for all components or views which are scrollable.

    And I've seen in Sencha document (here: http://docs.sencha.com/extjs/5.1.3/a...#cfg-renderTpl), that we could override "renderContent", but I don't know exactly how this renderContent works and how to do this.

    Can anyone help me? Thank you for all answers.



    p.S. I'm using Extjs 5.1.3

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    I don't think that there's an easy way to do this. The renderTpl config won't allow a component, but you might be able to achieve this with an override as you mentioned. Hopefully someone in the community has experience and will share.

  3. #3
    Sencha User
    Join Date
    Jul 2017
    Posts
    6
    Answers
    1

    Default

    Hi, Gary. Thank you for your answer

  4. #4
    Sencha User
    Join Date
    Jul 2017
    Posts
    6
    Answers
    1

    Default

    Does anyone has anothers idea ?

    Thanks in advance

Similar Threads

  1. [NOREPRO] Custom Extended Proxy "Create Override"
    By Kikketer in forum Sencha Architect 3.x: Bugs
    Replies: 4
    Last Post: 4 Oct 2013, 10:35 AM
  2. What is the difference between "override" and "apply"?
    By Musical Shore in forum Ext 3.x: Help & Discussion
    Replies: 7
    Last Post: 18 Nov 2009, 11:32 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •