Results 1 to 4 of 4

Thread: Get the store of Grid Panel after hiding columns

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Jul 2018
    Posts
    9
    Answers
    1

    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.

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
  •