Results 1 to 3 of 3

Thread: freeze pane in cfgrid as in excel:1st column will be locked while scrolling horizonta

  1. #1
    Sencha User
    Join Date
    Apr 2010
    Posts
    15

    Default freeze pane in cfgrid as in excel:1st column will be locked while scrolling horizonta

    I would like to know how to lock my first column of a cfgrid so that it will not move while scrolling horizontally.
    I want to use the ext js build in version with coldfusion 9.

    Thanks

  2. #2
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,488

    Default

    sarahmfr -

    Take a look at the Locking Grid Column example shipped in our SDK.
    http://dev.sencha.com/deploy/dev/exa...king-grid.html

    This user extension is not supported in the cfgrid component tag library shipped with CF. You will need to use native JavaScript to integrate this into your page.
    Aaron Conran
    @aconran

  3. #3
    Sencha User
    Join Date
    Apr 2010
    Posts
    15

    Default Thanks a lot but I have some of my columns automatically generated

    Thanks a lot.
    But I have a problem some of my columns are automatically generated i.e. first two columns are id, name but the rest of the columns are hw1, hw2,etc. according on how many homeworks for this class are in my database.


    <cfform>

    <cfgrid name="xxxxx"
    pagesize="5"
    format="html"
    selectmode="edit"
    delete="yes"
    deletebutton="Delete"
    autowidth="yes"
    colheaderbold="yes"
    picturebar="yes"
    sort="no"
    bind="cfc:xxxxx({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection},1)"
    onchange="xxxxx ({cfgridaction},
    {cfgridrow},
    {cfgridchanged})">

    <cfgridcolumn name="ID"
    header="ID"
    display="false">

    <cfgridcolumn
    name="Name"
    header="Name"
    width="100" select="no">

    <cfoutput query="xxxxx">
    <cfgridcolumn
    name="_#hw#"
    header="#hw#<br/> >

    </cfoutput>



    </cfgrid>


    </cfform>


    </cffunction>

Similar Threads

  1. Locked / Freeze Column Grid
    By The_Jackal in forum Ext GWT: User Extensions and Plugins
    Replies: 13
    Last Post: 27 Nov 2013, 2:24 PM
  2. GridPanel" freeze/lock one column to the right and one column to the left
    By mdrwxorg in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 22 Sep 2010, 1:03 PM
  3. Freeze row and freeze column in case of grid-Urgent
    By VishalKulkarni in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 19 Jun 2008, 4:48 AM
  4. [OPEN] Bug in Grid Column sort when the column is locked
    By maya in forum Ext 1.x: Bugs
    Replies: 1
    Last Post: 19 Jun 2007, 7:48 AM

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
  •