Search the Community
Showing results for tags 'summary'.
-
Hello, Could you please help me out to implement some requirement from our customer, Update Summary row value without/before Post data to DataSet in TUniDBGrid, what I mean by that is: I have got a DBGrid like that with summary enabled and everything calculated fine if the data is posted to DataSet: When user starts amending data like that, for example amend first 2 columns from 17 to 45: The sammary for those columns are still 17 , dispite I amend Column.AuxValue and Column.AuxValues[1] to the right value 45 (in code FieldOnChange) When amendmnents are posted to DataSet the Grid refreshes summary row and shows the right values 45. I need your help, so summary updated before post amandments. If user types 45 and move to next column the summary value changes to 45. I have got FMSoft_uniGUI_Complete_Professional_1.95.0.1581. Thank you in advance. Kind Regards
-
Dear all, I am using unidbgrid for my project. I am manage to set for 1 group in my dbgrid with summary, but my project need multi group and summary with grand total of the parent group. what we want is like this table A AB W1 500 TOTAL QTY :500 A AB W2 400 TOTAL QTY :400 TOTAL QTY : 900 A AC W1 100 TOTAL QTY :100 A AC W2 200 TOTAL QTY :200 TOTAL QTY : 300 TOTAL QTY : 1200 Can give me advise ?
-
Не могу понять, что я делаю не так. Нужно просто показать общую сумму в колонке. procedure TfmMain.dbgPurchasesColumnSummaryResult(Column: TUniDBGridColumn; GroupFieldValue: Variant; Attribs: TUniCellAttribs; var Result: string); Var v: variant; begin if SameText(Column.FieldName, 'SUMA') or SameText(Column.FieldName, 'KEYS_QUANTITY') then begin v := Column.AuxValue; if not VarIsNull(v) then result := v; end; end; условие выполняется, но суммы пустые У колонок свойство Summary включено, у сетки - тоже. Что я еще забыл? В качестве набора данных использую DevArt uniDAC (TUniQuery) Спасибо.
-
Good morning. I need to hide the row in a grid of the summay of the group, but show the row of grandTotal. How to do?
- 2 replies
-
- summary
- grand total
-
(and 1 more)
Tagged with:
-
How to set in the CSS configuration the color background of the row summary of grid? I know it is possibile with attribs.color but i need to do it in CSS
-
Как в DBGreed Summary организовать выборочное суммирование при группировке. К примеру нужно просуммировать только записи с с значением поле PgDS.DataSet.FieldByName('coment').AsString='plus' а остальные игнорировать. В примерах не нашел (( За ранее благодарен!
-
Hi Farshad! I think need to include "summaryType": count sum min max average http://www.objis.com/formationextjs/lib/extjs-4.0.0/docs/api/Ext.grid.feature.Summary.html If I'm not mistaken there is currently no such possibility (of course, we can use the "summaryType" in code, in another way. But would like that this possibility was in the properties of the column) Sincerely.