Results 1 to 6 of 6

Thread: Simple Organization Chart

  1. #1
    Sencha Premium Member
    Join Date
    Jan 2009
    Location
    Brazil, Porto Alegre
    Posts
    52
    Vote Rating
    17
      2  

    Default Simple Organization Chart

    Hi all,

    First of all Im not an Ext exper or even a javascript expert, my background is C/C++ and Assembly.
    Second my english isn't the best, so sorry my mistakes.

    Back to business.

    I have developed a component to render an organization chart by reading Ext sources, reusing many code as i could and overriding what I need

    Here is some features:
    • Simple Ext.data.TreeStore backend
    • Multiple selection
    • Drag and drop with auto scroll and auto expansion
    • Panning
    • Custom rendering by overriding renderItem method or itemTpl template
    • Keyboard navigation (left, right, up, down) with auto expand, +/- expand/collapse
    I have teste it on IE8, IE10, Chrome 33, FireFox 28 with Ext 4.1.1 and 4.2.1

    Download: http://adequare.com/ochart/ochart.zip

    Example: http://adequare.com/ochart

    A
    ny comment or bug report is welcome.

  2. #2
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    9,545
    Vote Rating
    257
      0  

    Default

    Looks cool. Please do post your code or an easy link. Thanks for sharing your work with the community.


    Join me at SenchaCon 2016!

  3. #3
    Sencha Premium Member
    Join Date
    Jan 2009
    Location
    Brazil, Porto Alegre
    Posts
    52
    Vote Rating
    17
      0  

    Default

    Ive uploaded the code, so be my guest!

  4. #4
    Sencha Premium Member
    Join Date
    Jan 2009
    Location
    Brazil, Porto Alegre
    Posts
    52
    Vote Rating
    17
      0  

    Default

    Hi all,

    Ive made some improvements and some more examples.

  5. #5
    Ext JS Premium Member
    Join Date
    Oct 2011
    Posts
    1
    Vote Rating
    0
      0  

    Default Any updates?

    Have you made an Ext 5 version of this?

  6. #6
    Ext JS Premium Member GustavR's Avatar
    Join Date
    Jun 2009
    Posts
    60
    Vote Rating
    34
      0  

    Default

    Good piece of code! Thank you for sharing!

    Also interested in updates. Is the version linked in your first post the most recent one?

Posting Permissions

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