Search Type: Posts; User: plum

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    63
    Views
    36,676
    tdobberphul, thanks for workaround. I created branch on github repo with this code:
    https://github.com/nonameplum/DynamicGrid/tree/extjs4.2-fix
  2. I mean, creating the new component like Button or GMap panel was created for Ext4j.
    I have my own implementation of Portal component, that have new poperties and methods.
    What I have to do that I...
  3. I'm not very familiar with GWT world. Can you explain how to implement custom new component created with ExtJs to Ext4j?
  4. Is this answer for your question?



    var onlyDates = [];
    for (var key in grid.getStore().getAt(1).data) {
    var val = grid.getStore().getAt(1).data[key];
    console.log(key + ': ' + val);
    ...
  5. Replies
    63
    Views
    36,676
    http://docs.sencha.com/ext-js/4-1/#!/api/Ext.data.reader.Reader-cfg-totalProperty

    You have to set totalProperty in reader, so you can change it in DynamicReader class.



    proxy: {
    reader:...
  6. Replies
    63
    Views
    36,676
    You have to look to filter plugin code, how it works (I have never used this plugin), but probably you have to create plugin dynamically in reconfigure dynamicGrid's event ->...
  7. Replies
    63
    Views
    36,676
    No problem, feel free to use.
  8. Replies
    63
    Views
    36,676
    I created for you more complex soluction that is more elastic I think.
    Look into github last commit:
    https://github.com/nonameplum/DynamicGrid/commit/f5e5c5177d4e270ee550d7fc1f42bea62c775c02

    But...
  9. Replies
    63
    Views
    36,676
    Hi,

    I don't know what you mean in this sentence


    But what I see in the picture is grid with one column. So your json data probably looks like:


    [{'userID' : ''}]
  10. Replies
    63
    Views
    36,676
    Hi pnhegde,
    Can you provide some example of your json data response or better some jsFiddle example or github?
    Without them it is hard to tell me whats is going on.

    Best regards.
  11. Replies
    63
    Views
    36,676
    I think that dynamicGrid have to be simple as possible. Not everyone want to have toolbar with button like refresh. So I would not add this to DynamicGrid.js.

    Adding toolbar with refresh button is...
  12. Replies
    63
    Views
    36,676
    I have never written any code using Ext.GXT. You have to ask people writing in GXT.
  13. Replies
    63
    Views
    36,676
    Hi

    Unfortunately I am not using Sencha Architect. I don't how Sencha Architect works with class extensions.

    Best regards
  14. Replies
    63
    Views
    36,676
    diet1986
    created second topic related to his question here -> http://www.sencha.com/forum/showthread.php?248262-Reconfigure-Grid-with-response-from-server-json-object
  15. As vietits mentioned read this before you ask for more details, you should find there all informations that you need:
    ...
  16. Replies
    63
    Views
    36,676
    I especially not expanded the code to this kind of soluctions becouse anyone can have different ideas that match their requirements.

    Your requirement can be resolved in two ways. Visible columns...
  17. Replies
    4
    Views
    12,090
    Look into my code, it is very small addon, and change it to your requirements.

    http://www.sencha.com/forum/showthread.php?242594-Dynamic-grid-with-dynamic-model
  18. Thanks for reply. I guessed that Ext.Loader will cause problems for Sencha Cmd. I will make project from scratch using Sencha cmd commands and then I will try to remake my project to apply this rules.
  19. Replies
    63
    Views
    36,676
    I think you are setting url in inproper way becouse you are getting 404 so browser can't find your destination.

    E.g. if you have url to php file that is returning you json data like:
    ...
  20. Replies
    63
    Views
    36,676
    Hi,

    You have to set url property of xtype dynamicGrid. So if you look into Viewport.js file you will see this lines:



    {
    xtype: 'dynamicGrid',
    url: './data.js' //url to your json...
  21. Hi,

    Sorry, I have short free days in work.
    After reading documentation. I added "compilation" sencha cmd lines that now my index.html file look like:



    <!DOCTYPE html>
    <html>
    <head>
  22. Replies
    63
    Views
    36,676
    I created example how to use my addon:
    https://github.com/nonameplum/DynamicGrid

    Best regards
    Lukas
  23. Hi,

    I have problem with compilation my application. I improved my app files that have no more errors in compilation time but result file: all-classes.js have only comment:



    //@tag...
  24. Replies
    63
    Views
    36,676
    No, there shouldn't be another data (like metadata), only "pure" json objects in table. Like you can see in first post json should b

    JSON example (from this json will be created 3 columns: 'data',...
  25. Replies
    63
    Views
    36,676
    I updated the first post with example of json. If you have some more complicated json you can try make own implementation of readRecords.
Results 1 to 25 of 33
Page 1 of 2 1 2