Results 1 to 8 of 8

Thread: Grid Spreadsheet selectior hidden column

  1. #1
    Sencha Premium Member
    Join Date
    Sep 2014
    Location
    Graz
    Posts
    21

    Default Answered: Grid Spreadsheet selectior hidden column

    I don't know if this is by design or a bug, i have a hidden ID column, if i put the spreadsheet selector on the grid, the hidden attribute is ignored.


  2. Found it !!

    You can turn that column off like so - set rowSelect config to false.

    Code:
    selModel: {
       type: 'spreadsheet',
       rowSelect: false
    },

  3. #2
    Sencha - Sustaining Engineer tristan.lee's Avatar
    Join Date
    Mar 2015
    Location
    Central Ohio
    Posts
    1,579
    Answers
    165

    Default

    Looking at your example, the id column is hidden. Remove the hidden: true config and it appears.
    Tristan Lee
    Sencha Inc - Sustaining Engineer


    Having an issue? Help us help you - be detailed; provide some code; demonstrate with a fiddle (fiddle.sencha.com)

    Embed your fiddle in your post: [FIDDLE]id[/FIDDLE]

  4. #3
    Sencha Premium Member
    Join Date
    Sep 2014
    Location
    Graz
    Posts
    21

    Default

    its not hidden if i set the selection to spreadsheet, i want it to be hidden.

  5. #4
    Sencha Premium User suzuki1100nz's Avatar
    Join Date
    Apr 2011
    Location
    New Zealand
    Posts
    731
    Answers
    45

    Default

    Hi Tomi,

    Looking at your fiddle example it works fine.

    With ID column config set to hidden, it is in fact hidden.
    Capture.PNG

    When the config for hidden is removed.

    Capture2.PNG

    The spreadsheet selector is set in both cases - so what is the problem?

  6. #5
    Sencha Premium Member
    Join Date
    Sep 2014
    Location
    Graz
    Posts
    21

    Default

    The column is hidden, but the records are there (1,2,3,4).

    EDIT: ok those are not the records, but row numbers, how can i hide them?

  7. #6
    Sencha Premium User suzuki1100nz's Avatar
    Join Date
    Apr 2011
    Location
    New Zealand
    Posts
    731
    Answers
    45

    Default

    Thanks for updating your fiddle

  8. #7
    Sencha Premium User suzuki1100nz's Avatar
    Join Date
    Apr 2011
    Location
    New Zealand
    Posts
    731
    Answers
    45

    Default

    Found it !!

    You can turn that column off like so - set rowSelect config to false.

    Code:
    selModel: {
       type: 'spreadsheet',
       rowSelect: false
    },

  9. #8
    Sencha Premium Member
    Join Date
    Sep 2014
    Location
    Graz
    Posts
    21

    Default

    Thank you very much

Similar Threads

  1. Spreadsheet grid - hide numberer column
    By dolev in forum Ext 5: Q&A
    Replies: 2
    Last Post: 3 Jun 2015, 7:38 AM
  2. Replies: 3
    Last Post: 22 Apr 2015, 3:49 AM
  3. Replies: 0
    Last Post: 26 Mar 2015, 9:27 AM
  4. Replies: 6
    Last Post: 6 May 2014, 3:35 PM
  5. Replies: 3
    Last Post: 27 Sep 2012, 2:47 AM

Posting Permissions

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