Results 1 to 4 of 4

Thread: Dynamic grid in Modern

  1. #1
    Sencha Premium Member
    Join Date
    Feb 2015
    Posts
    25

    Default Answered: Dynamic grid in Modern

    Hello,

    I'm trying to create a dynamic grid in modern toolkit. This grid will accept url in config and make ajax call to retrieve grid's metadata and data. I did manage to find some examples using previous ext js. All of them seem to use reconfigure function in the end to 'reconstruct' the grid. This function is not available in modern grid. How should I implement this? Thank you!

  2. A dirty hack that may get you started could be:


  3. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    4,108
    Answers
    342

    Default

    The grid component used in Modern is different than the one used in Classic. You will probably have to destroy the grid and recreate it.

  4. #3
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379
    Answers
    3997

    Default

    A dirty hack that may get you started could be:

    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

  5. #4
    Sencha Premium Member
    Join Date
    Feb 2015
    Posts
    25

    Default

    It's working. Thank you!

    Quote Originally Posted by mitchellsimoens View Post
    A dirty hack that may get you started could be:


Similar Threads

  1. Replies: 4
    Last Post: 16 Sep 2016, 12:24 AM
  2. How could we have dynamic views for classic and modern?
    By georgiospligoropoulos in forum Sencha Ext JS Q&A
    Replies: 3
    Last Post: 14 Mar 2016, 1:13 AM
  3. Extjs6: Ext.grid.Grid DockedItems on Modern mode does't work
    By Viet.Nguyen in forum Sencha Ext JS Q&A
    Replies: 2
    Last Post: 15 Nov 2015, 10:15 PM
  4. Dynamic Chart using dynamic grid with dynamic model
    By pancho.munyoz in forum Ext: Q&A
    Replies: 3
    Last Post: 28 Jan 2013, 12:10 PM

Posting Permissions

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