Search:

Type: Posts; User: borg

Page 1 of 5 1 2 3 4

Search: Search took 0.03 seconds.

  1. [INFOREQ] You're suggesting doing the below: ...

    You're suggesting doing the below:


    newCard.update(tpl.apply(data));
    // tpl.overwrite(newCard.body, data);
    // newCard.doComponentLayout();

    but that doesn't change anything because that's not...
  2. [INFOREQ] Sorry we need to put some data in there so you...

    Sorry we need to put some data in there so you can see what I mean.
    Here:


    var store = Ext.create('Ext.data.ArrayStore', {
    fields: [
    {name: 'name', type: 'string' }
    ],
    data: [...
  3. [INFOREQ] Internet Explorer issue with tabchange event. Overwrites all tabpanels with template.

    Firefox and IE10 (perhaps 6-9 also) behave differently.

    In Firefox:

    Without the "if (newCard == panelCostPerAttendee) {" and closing "}"
    "tpl.overwrite(newCard.body, data);" overwrites any...
  4. My bad, it should actually be:...

    My bad, it should actually be: Ext.getStore('mystorename').reload();
  5. Replies
    8
    Views
    1,461

    The solution is if the record has isSummary set...

    The solution is if the record has isSummary set then the value is set to the value you want.



    convert: function(value, record) {
    if (record.isSummary) { // this fixes the bug with...
  6. Replies
    8
    Views
    1,461

    I'm using groupingSummary and that code would sum...

    I'm using groupingSummary and that code would sum everything rather than just the sum for the group.
  7. [DUP] summaryType does not work if field is calculated using convert

    Notice the Estimated column's summary is zero despite summaryType returning the correct value. The bug seems to be related to the fact that I'm using convert: to calculate the estimated column cell...
  8. Replies
    8
    Views
    1,461

    I need the convert to calculate the normal (non...

    I need the convert to calculate the normal (non summary) rows. If I change renderer: for the estimated column it only takes value as a parameter so I couldn't do quantity * unitcost anyway. Here's my...
  9. Replies
    8
    Views
    1,461

    It doesn't seem to work if the field you're...

    It doesn't seem to work if the field you're trying to sum is calculated using convert. Any idea how to make it work?



    fields: [{
    name: 'quantity',
    type: 'int'
    },{
    name: 'unitcost',...
  10. Replies
    8
    Views
    1,461

    summaryType does not work with groupingsummary

    the return value is a number but the summaryRenderer gets a 0 despite that. Is there something I'm missing? I'm using groupingsummary



    summaryType: function(records) {
    var estimated = 0;...
  11. found it: ...

    found it:

    Ext.getStore('mystore').fireEvent('refresh', Ext.getStore('mystore'));
  12. That's what I'm asking, what is the code to force...

    That's what I'm asking, what is the code to force the recalculation?
  13. The datachanged event does not force a...

    The datachanged event does not force a recalculation.

    What events do the cell edit event call because if you edit a cell in a grid it calls the convert function because the column I have with a...
  14. How do I force the convert function to be called?

    I have a model/store/grid which has a field that uses the convert function to set its value to that of the sum of some other store's columns:



    fields: [{
    name: 'name',
    type: 'string'
    },{...
  15. UPDATE: FIXED BY ADDING parseFloat() to return...

    UPDATE: FIXED BY ADDING parseFloat() to return value in convert

    There seems to be a conflict with summaryRenderer and the convert function. The summary value cannot be shown because for some...
  16. Is my ONLY option to place the value into a...

    Is my ONLY option to place the value into a global variable inside the summaryRenderer? There's GOT to be a way to access the cell's value remotely.
  17. How do I access the cell values in the summary row?

    Is there a way to access the record for the summary row?
  18. Replies
    5
    Views
    1,572

    [CLOSED] Seems to be a bug with: theme: 'Base:gradients'...

    Seems to be a bug with: theme: 'Base:gradients' which I took from http://docs.sencha.com/extjs/4.2.1/#!/example/charts/Pie.html

    Not sure why that example works. The docs show that the theme should...
  19. [FIXED] Apparently it's a known bug already:...

    Apparently it's a known bug already: http://www.sencha.com/forum/showthread.php?264529-4.2.1-Ext.grid.RowEditor-onFieldChanged%28%29-No-Longer-Called&langid=1
  20. [FIXED] Just change the 3 references to 4.2.0 below to...

    Just change the 3 references to 4.2.0 below to 4.2.1


    <!doctype html>
    <html>
    <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title></title>

    <link...
  21. [FIXED] rowediting bug in 4.2.1 that didn't exist in 4.2.0

    Make a grid with plugin: rowediting with a column that has an allowBlank: false
    Make a button that creates a record and inserts it into the grid and then calls startEdit().
    The "Update" button will...
  22. Replies
    2
    Views
    521

    How to handle store load failures

    I want to be able to do something when my store returns success: false
    The only documentation I found I think only relates to if the server returns something other than a 200 status code, correct?...
  23. The issue seems to be that the default behavior...

    The issue seems to be that the default behavior of this config param is unexpected. If you have a number like 240.30 it will only show 240.3 If you have 240 it will only show 240. It should be...
  24. Why does numberfield ignore decimalPrecision?

    Why do I have to override the numberfield to make decimal precision work? Is it a bug? Seems broken to me.


    xtype: 'numberfield',
    forcePrecision: true, // custom for override, otherwise behaves...
  25. Replies
    1
    Views
    683

    [OPEN] No alias for usMoney for summaryRenderer

    When you specify the renderer: of a grid column you can shorthand it to 'usMoney' but if you use summaryRenderer: there doesn't seem to be a shorthand version so you have to use...
Results 1 to 25 of 117
Page 1 of 5 1 2 3 4