1. #1
    Sencha Premium Member
    Join Date
    Nov 2011
    Posts
    27
    Vote Rating
    2
    alex.sherwin is on a distinguished road

      1  

    Cool Inline Anything Grid/TreeGrid Plugin: Dynamic inline grid content

    Inline Anything Grid/TreeGrid Plugin: Dynamic inline grid content


    Here's a plugin which will "inline" any arbitrary ExtJS component inside a Grid or TreeGrid.

    It targets per-cell selection, and has visual indicators for such.

    Through configuration, a check can be created for each column dataIndex which determines whether there is any inline content to show, as well as a function per dataIndex to return a xtype based config object used to instantiate the inline content; both the check and config functions can also have a default catchall definition.

    License: Apache 2.0
    Demo: http://alex-sherwin.github.com/inlineanything/
    GitHub: https://github.com/alex-sherwin/inlineanything/

    I'll create some more extensive demo's and documentation on configuration soon, but just got everything committed and demo running on GitHub and ready to share

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,910
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Very nice ... I like the concept! You should consider placing this in our Sencha Market
    https://market.sencha.com/

    A child grid would be a nice demo to have on your page as well.

    Scott.

  3. #3
    Sencha Premium Member
    Join Date
    Nov 2011
    Posts
    27
    Vote Rating
    2
    alex.sherwin is on a distinguished road

      0  

    Default


    Thank's, I'll look into that tomorrow

  4. #4
    Ext JS Premium Member
    Join Date
    Nov 2008
    Posts
    281
    Vote Rating
    3
    wki01 is on a distinguished road

      0  

    Default


    Great plugin.
    A small bug: With IE9 the X button is seated.


    error.img1.png

    Also, please if you can change the word "default" with something different.
    During the parsing gives me a syntax error.

    Code:
        beforeEdit: function(context) {
          if (this.inlineChecks) {
              if (this.inlineChecks.hasOwnProperty(context.field)) {
                  return this.inlineChecks[context.field](context);
              } else if (this.inlineChecks.hasOwnProperty("default")) {
                  return this.inlineChecks.default(context); <----- SYNTAX ERROR
              } else {
                  return false;
              }
          }
          return true;
        },
    thanks

  5. #5
    Ext JS Premium Member
    Join Date
    Nov 2008
    Posts
    281
    Vote Rating
    3
    wki01 is on a distinguished road

      0  

    Default


    does not work with version 4.2.
    some fix?


    thank you very much

  6. #6
    Ext JS Premium Member
    Join Date
    Nov 2008
    Posts
    281
    Vote Rating
    3
    wki01 is on a distinguished road

      0  

    Default


    nothing ...
    after spending several hours I removed the plugin from my application.
    I could not understand why it no longer works.

Thread Participants: 2

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."