Search:

Type: Posts; User: ezriel

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    26,384

    Thank you @skirtle. It works perfect.

    Thank you @skirtle. It works perfect.
  2. Replies
    5
    Views
    26,384

    Ok, i am able to send generated file via GET...

    Ok, i am able to send generated file via GET method


    {
    text:'Eksport',
    tooltip:'Eksportuj zaznaczon? ankiet? do pliku pdf',
    iconCls:'edit',
    handler: function() {
    ...
  3. Replies
    5
    Views
    26,384

    Force download file from server

    i want to force browser to download pdf file from server(java, spring framework). The request comes from extjs 4.1.1 to Spring controller like this:


    ...
  4. Replies
    5
    Views
    1,702

    Yes, but i think your solution is better. Can you...

    Yes, but i think your solution is better. Can you show me how can i use shell_exec to send back generated pdf file?
  5. Replies
    5
    Views
    1,702

    User has export button. When he presses it i want...

    User has export button. When he presses it i want to show him window where he can choose where save the file. Then, extjs sends file path to the client rest controller. Controller gets needed data...
  6. Replies
    5
    Views
    1,702

    File path chooser

    Hi,
    I have rest client with extjs and i want to let the user choose where to save the file. The file is saved as a pdf on the client machine via java and itextpdf library. I have to send only file...
  7. Replies
    2
    Views
    747

    Yes, i did. toggleMenu variable is empty when i...

    Yes, i did. toggleMenu variable is empty when i use json store. I don't know why. What should I use instead of Ext.getCmp function?
  8. Replies
    2
    Views
    747

    Grid grouping and json store

    Hi,
    i tried implement grouping future (from grids example) to my grid but firebug throws an exception
    TypeError: Ext.getCmp("scoreTable").down("menucheckitem[text=" + groupName + "]") is null
    when...
  9. Replies
    1
    Views
    401

    Defense before turning off javascript

    Hi,
    Is it possible to execute code before the user disables javascript in browser?
    For example:
    Before turning off javascript save changes made on grid in opened window.
  10. Assign id value to the button and then use...

    Assign id value to the button and then use Ext.getCmp("button_id")
  11. Replies
    1
    Views
    525

    Is it possible to create such a grid?

    Hello,
    is it possible to create such a grid as shown below??
    I have two models with hasmany association:


    Ext.define('Question', {
    extend: 'Ext.data.Model',
    fields: [
    {name:...
  12. Replies
    1
    Views
    906

    Check tree - how to save changes

    Hi,
    i'm using check tree example. When i check several nodes i want to save changes but store.sync() doesn't do anything. How to do it??
    Here is my code


    window.newSolveExamWindowOpened =...
  13. Replies
    7
    Views
    1,189

    ok i resolved it myself. Here is the code...

    ok i resolved it myself. Here is the code (Changes are marked on red)


    /*!
    * Ext JS Library 4.0
    * Copyright(c) 2006-2011 Sencha Inc.
    * licensing@sencha.com
    * http://www.sencha.com/license...
  14. try to add "Alias" field fields:[ {name:...

    try to add "Alias" field


    fields:[
    {name: 'Alias", type:'string'},
    {name:'Country',type:'string'}
    ]


    or define Model
  15. Replies
    7
    Views
    1,189

    ok i did it like this: Ext.define('Account',...

    ok i did it like this:


    Ext.define('Account', {
    extend: 'Ext.data.Model',
    fields: [
    {name: 'id', type: 'int', convert: null},
    {name: 'name', type: 'string'},
    {name: 'lastName',...
  16. Replies
    7
    Views
    1,189

    I did it but it doesn't help. Here is the...

    I did it but it doesn't help.
    Here is the createWindow function now:


    createWindow : function(){

    var desktop = this.app.getDesktop();
    var win = desktop.getWindow('list-win');...
  17. Replies
    7
    Views
    1,189

    It doesn't help. When i do store.reload() the...

    It doesn't help. When i do store.reload() the returned json doesn't contain removed record but it is still visible in grid. It disappears after restarting the server. So somehow it is cached in...
  18. Replies
    7
    Views
    1,189

    Remove record from store extjs 4.1.1

    Hi,
    I use the store loaded from the server (json). When I delete a row in grid it will be deleted from the database but when the grid is reloaded the removed row still returns despite the fact...
  19. Replies
    3
    Views
    1,389

    Thanks skirtle. Ext.format.String works :) Now i...

    Thanks skirtle. Ext.format.String works :) Now i have to wait to be able to download extjs 4.0.5...
  20. Replies
    3
    Views
    1,389

    App.setAlert() and monitorValid problem

    Hi,
    i'm learnig extjs 4 and have a little problem. I tried use App.setAlert() from /examples/shared/extjs/App.js. When i lunch my app i got that message:

    from firebug(on firefox 6) -...
Results 1 to 20 of 20