Search Type: Posts; User: borg

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds.

  1. You're suggesting doing the below:

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

    but that doesn't change anything because that's not...
  2. Sorry we need to put some data in there so you can see what I mean.

    var store = Ext.create('', {
    fields: [
    {name: 'name', type: 'string' }
    data: [...
  3. 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: Ext.getStore('mystorename').reload();
  5. 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. I'm using groupingSummary and that code would sum everything rather than just the sum for the group.
  7. 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. 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. 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. 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:

    Ext.getStore('mystore').fireEvent('refresh', Ext.getStore('mystore'));
  12. That's what I'm asking, what is the code to force the recalculation?
  13. 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. 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 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 global variable inside the summaryRenderer? There's GOT to be a way to access the cell's value remotely.
  17. Is there a way to access the record for the summary row?
  18. Replies
    Seems to be a bug with: theme: 'Base:gradients' which I took from!/example/charts/Pie.html

    Not sure why that example works. The docs show that the theme should...
  19. Apparently it's a known bug already:
  20. Just change the 3 references to 4.2.0 below to 4.2.1

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

  21. 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
    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 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 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. 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