Search:

Type: Posts; User: messyOne

Search: Search took 0.01 seconds.

  1. Replies
    19
    Views
    6,075

    The same "Uncaught TypeError: Object #...

    The same "Uncaught TypeError: Object #<Object> has no method 'apply'" error.

    The select listener works only when I set it as array:


    array(
    'xtype' => 'combo',
    'width' => 100,
    ...
  2. Replies
    19
    Views
    6,075

    I can't seem to get this right. If I serialize...

    I can't seem to get this right. If I serialize the class it doesn't work. No event. No error.
    If I transform the class in JSON data it added quotes. Event fired. Error: Uncaught TypeError: Object...
  3. Replies
    19
    Views
    6,075

    No quotes? But in the PHP array I can't work...

    No quotes? But in the PHP array I can't work without quotes.
  4. Replies
    19
    Views
    6,075

    Can you tell me how the object should look like?...

    Can you tell me how the object should look like? I try it with different methods, but I always get errors like:



    Uncaught TypeError: Object {fn: function(combo, records, scope)...
  5. Replies
    19
    Views
    6,075

    Mhh... JSON object ...

    Mhh...

    JSON object


    "listeners":"{select:{fn: function(combo, records, scope) {console.log(\"foo\");}}}"


    The PHP generated JS still work with the JSON object.
  6. Replies
    19
    Views
    6,075

    Oh, yes. The error is gone, but no log. Edit:...

    Oh, yes. The error is gone, but no log.

    Edit: The error came but only if I try to add the listener in the ExtJS script to the object.
  7. Replies
    19
    Views
    6,075

    Yes! The store is loaded. I have a lot of items...

    Yes! The store is loaded. I have a lot of items in the list.
  8. Replies
    19
    Views
    6,075

    @tvanzoelen: Unfortunately it also doesn't work...

    @tvanzoelen: Unfortunately it also doesn't work with this.

    @dawesi: The listener "change" also doesn't work.
  9. Replies
    19
    Views
    6,075

    Mhh... I have tried it, but no result. At...

    Mhh... I have tried it, but no result.

    At first put the listener directly in combo:


    $this->metadata['tbar']['combos'][] = array(
    $title,
    array(
    'hidden' => false,
    ...
  10. Replies
    19
    Views
    6,075

    Add EventListener to a combobox

    Hi guys,

    I have a PHP code which returns an JSON object. This object consists the data for a combobox. In my ExtJS script the object is embedded. Now I want to add a EventListener to this object,...
  11. Replies
    5
    Views
    20,199

    Thank you! It works. Here my sample code for...

    Thank you! It works. Here my sample code for anyone who has the same problem.

    ExtJS code


    Ext.onReady(function() {

    /**
    * create grid
    *
  12. Replies
    5
    Views
    20,199

    Dynamic fields and columns in a grid

    Hi,

    I want to build a grid with indefinite count of columns in ExtJS 4.1. The data should be passed by an AJAX request. At the moment I generate the ExtJS code with PHP but this anything but...
  13. Replies
    4
    Views
    1,493

    It isn't the axis title which has to change, but...

    It isn't the axis title which has to change, but the title of a serie (type: line).
  14. Replies
    4
    Views
    1,493

    Utter nonsense! The script will not reload so I...

    Utter nonsense! The script will not reload so I haven't a chance to get a new random value. Ok, I tell you what I want. By a click on a button the proxy.url will be changed and load with an AJAX...
  15. Replies
    4
    Views
    1,493

    Update title from Series

    Hi,

    i want to update the title from my series lines in my line chart. I use Ext JS in a PHP template and have following code extract:


    {
    type: 'line',
    xField:...
Results 1 to 15 of 15