Results 1 to 4 of 4

Thread: Get the store of Grid Panel after hiding columns

  1. #1
    Sencha User
    Join Date
    Jul 2018
    Posts
    4
    Vote Rating
    0
      0  

    Default Answered: Get the store of Grid Panel after hiding columns

    Hi all
    I am new at extjs and I am exporting grid contents to pdf .. csv .xls
    it is Ok done
    but if I hide some columns I cant get the store without hidden columns
    How can I do this and get the store with hidden columns???

  2. Hi Anas,


    Exporter plugins export to method works by taking columns from view itself so hidden columns are not exported by default. However, you can use beforedocumentsave and documentsave events to get grid columns and unhide them before document save and hide them again.


    https://docs.sencha.com/extjs/6.2.1/...redocumentsave


    Kitchen sink example - http://examples.sencha.com/extjs/6.6...#big-data-grid

    Regards,
    Kumar
    Sencha Support.

  3. #2
    Ext Team Member
    Join Date
    Sep 2017
    Posts
    674
    Answers
    3
    Vote Rating
    -319
      0  

    Default

    Good evening- I will send your question to the support team to further look into. We appreciate your patience as this may take some time to review and get back to you.

    Thank you,

    Michele

  4. #3
    Ext Support Team
    Join Date
    Jan 2018
    Posts
    116
    Answers
    2
    Vote Rating
    -147
      0  

    Default

    Hi Anas,


    Exporter plugins export to method works by taking columns from view itself so hidden columns are not exported by default. However, you can use beforedocumentsave and documentsave events to get grid columns and unhide them before document save and hide them again.


    https://docs.sencha.com/extjs/6.2.1/...redocumentsave


    Kitchen sink example - http://examples.sencha.com/extjs/6.6...#big-data-grid

    Regards,
    Kumar
    Sencha Support.

  5. #4
    Sencha User
    Join Date
    Jul 2018
    Posts
    4
    Vote Rating
    0
      0  

    Default

    thank you a lot

Similar Threads

  1. [FIXED] Grid panel with buffered store and lockable columns
    By dragos.damian in forum Ext 5: Bugs
    Replies: 2
    Last Post: 24 Aug 2015, 5:56 AM
  2. Problem when hiding columns in grid panel
    By super.rotus in forum Ext: Q&A
    Replies: 1
    Last Post: 6 Mar 2014, 9:36 PM
  3. Replies: 1
    Last Post: 19 Jan 2010, 10:59 PM
  4. Grid columns not hiding
    By HartlepoolLad in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 31 Jan 2008, 4:07 AM
  5. Hiding Columns in Grid
    By ekatz in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 2 Aug 2007, 9:03 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
  •