Search:

Type: Posts; User: ragecf

Page 1 of 3 1 2 3

Search: Search took 0.03 seconds.

  1. Hi, I have a panel with toolbar and loader. ...

    Hi,

    I have a panel with toolbar and loader.

    A html page will be auto loaded to this panel from back end.
    At the same time, I want get some config from back end, such as enable/disable toolbar...
  2. Sorry I did find it.

    Sorry I did find it.
  3. [FIXED] This workaround has another bug: 1. Select one...

    This workaround has another bug:
    1. Select one row (for example the first row, index =0)
    2. Reload store (click refresh on pagging toolbar)
    3. Sort this grid to change the prosition for this row...
  4. Any workaround?

    Any workaround?
  5. Ohhhhhhhhhhhhhh No! Hit a bug:...

    Ohhhhhhhhhhhhhh No!
    Hit a bug: http://www.sencha.com/forum/showthread.php?261111
  6. Hi, all I selected one row in grid first, then...

    Hi, all

    I selected one row in grid first, then modified back-end data and reloaded store. But the row kept selecting and the record data was not updated.

    code:



    Ext.onReady(function() {
    ...
  7. Replies
    3
    Views
    487

    Got it. form.getForm().setValues(data); ...

    Got it.

    form.getForm().setValues(data);

    It's OK now. Thanks.
  8. Replies
    3
    Views
    487

    Thanks. And then how to load this data object...

    Thanks.

    And then how to load this data object to form?
    I tried form.loadRecord(data) but failed.
  9. Replies
    3
    Views
    487

    Hi, all I want to load a JSON string to a...

    Hi, all

    I want to load a JSON string to a form.

    I got the string from back-end like:

    root: [{item:"A", value:1}, {item:"B", value:2}, {item:"C", value:3}....]

    How to format the return...
  10. Replies
    2
    Views
    1,165

    Thanks. Finally I gave up. Because it caused...

    Thanks. Finally I gave up. Because it caused other issues.
  11. Replies
    2
    Views
    1,165

    Hi, all I want to change button style in...

    Hi, all

    I want to change button style in toolbar (neptune theme).

    I tried the following code and css:



    Ext.create('Ext.grid.Panel', {
    title: 'Grid',
  12. Thanks. I found a workaround. "defaultFocus:...

    Thanks.
    I found a workaround.
    "defaultFocus: 'textfield'"
    It can work.
  13. Hi, I want to set the input focus to the...

    Hi,

    I want to set the input focus to the first textfield in a form within a window.

    If the animateTarget was set to ducument.body, the textfield was not focused.

    I tried to listen to...
  14. Replies
    10
    Views
    3,223

    Thanks a lot.

    Thanks a lot.
  15. Replies
    10
    Views
    3,223

    "When I run your Ext code, I get a grid with two...

    "When I run your Ext code, I get a grid with two records. When I select one and click the delete button, the grid refreshes and I only see one record. Isn't that what you were expecting to happen? Is...
  16. Replies
    10
    Views
    3,223

    Or is there is a workaround to post action and...

    Or is there is a workaround to post action and record to back end together for store.sync()?
  17. Replies
    10
    Views
    3,223

    I tried to set "actionMethods:{destroy: 'GET'}"...

    I tried to set "actionMethods:{destroy: 'GET'}" in Ajax proxy. Then the action value could be retrieved. But Ext did not post record to back end.
    When I used default "actionMethods:{destroy: 'POST'}...
  18. Replies
    10
    Views
    3,223

    Thanks. The action=getuser is OK because the...

    Thanks.

    The action=getuser is OK because the read action method is GET.
    But can not get the 'deleteuser' because the destroy method is POST. How to get this value?
  19. Replies
    10
    Views
    3,223

    Hi, This is a question about perl back end. ...

    Hi,

    This is a question about perl back end.

    I want to delete a record from store then sync to back end.
    How to pass an additional parameter (action:deleteUser)?

    I tried the below code, but...
  20. Replies
    3
    Views
    436

    Sorry for my poor english. I know how to load...

    Sorry for my poor english.
    I know how to load record to form.
    I want to know how to remove the record html symbol.
    For example:
    A record data is aaa, but I only want to load 'aaa' to form field,...
  21. Replies
    3
    Views
    436

    Hi all, I want to load a grid record to form...

    Hi all,

    I want to load a grid record to form in order to edit it.

    But some of record field value is hyperlink like "value"

    I just want to load the raw value to form field without html...
  22. My solution: onCellClick: function(view,...

    My solution:



    onCellClick: function(view, td, cellIndex, record, tr, rowIndex, e, eOpts) {
    var a = e.target.attributes.getNamedItem('parameter').value;
    console.log(a);

    })
  23. Thanks. Checked in firebug, but custom...

    Thanks.
    Checked in firebug, but custom parameters is in el.attributes.
  24. Hi all, A grid with record "link...

    Hi all,

    A grid with record "link

    How to get the parameter value in cellclick event?

    Thanks.
  25. Replies
    3
    Views
    1,883

    Thank you for provide so great solution. I...

    Thank you for provide so great solution.

    I solved my problem with solution 2 although it is not good practice.

    For solution 1, I don't know how to listen to requestcomplete event for a single...
Results 1 to 25 of 72
Page 1 of 3 1 2 3