Show Specific Column in GridPanel

  1. #1

    Show Specific Column in GridPanel


    Hi ...

    Lets say I have 30 columns in gridpanel, its not possible to show all the columns on a present screen position,

    what I want to achieve is by default scrollbar should be scrolled and should show the center column(15th Column), then user can scroll on the left, or right.

    can this be Done ?

    Hope I am clear what I want to do. (Ex. Like we have Gantt chart in MS Project we can scroll left or right depending on the date)
  2. #2

    RE: Show Specific Column in GridPanel


    Just to put more details I am attaching a screentshot.
  3. #3

    RE: Show Specific Column in GridPanel

    Hi,

    In Load Listener of Store try call the following code

    <Load Handler="#{Grid1}.getView().focusCell(0,15);" Delay="100" Single="true"/>
    Vladimir Shcheglov
    Sr. Developer
  4. #4

    RE: Show Specific Column in GridPanel



    Sorry for late replying ...


    with your suggestion it worked as I wanted.


    Thanks.

Similar Threads

  1. Replies: 0
    Last Post: Feb 28, 2012, 3:15 PM
  2. Replies: 3
    Last Post: Nov 10, 2011, 4:10 PM
  3. Replies: 4
    Last Post: Oct 07, 2011, 10:50 AM
  4. Replies: 2
    Last Post: Nov 26, 2010, 7:30 PM
  5. Replies: 1
    Last Post: May 19, 2010, 6:07 PM

Posting Permissions