This is a migrated thread and some comments may be shown as answers.

Calculated Cell not rendering new value

3 Answers 47 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Floyd
Top achievements
Rank 1
Floyd asked on 16 Mar 2018, 01:54 PM

I have a cell that is not editable, it displays a value from the datasource.  While editing the row and changing other cells, a new value is calculated.  The datasource reflects the new value but the cell does not render it.

 

    export function init(columns: any) {
        var ds = new nkfDataSources.FilterByJobQuickEntryDistribution();
        ds.group = { field: "PropertyName" };
        grid = $("#jobQuickEntryDistributionGrid").kendoGrid({
            columns: columns,
            groupable: false,
            pageable: true,
            sortable: true,
            filterable: true,
            toolbar: kendo.template($("#grid_jobQuickEntryDistribution_toolbar").html()),
            dataSource: ds.get(onGridparameterMap),
            editable: true,
            edit: function (e) {
                e.model.unbind("change", model_change).bind("change", model_change);
            }
        }).data("kendoGrid");
    }

 

function model_change(e) {

    var model = this;

       model.NetFee = nkfCommon.Calculate.netFee(
            model.GrossFee,
            nkfCommon.Calculate.departmentOffset(model.GrossFee, model.DepartmentOffset),
            nkfCommon.Calculate.expenses(model.ClientReimbursedExpenses, model.NonClientReimbursedExpenses, model.DirectBilledExpenses));

}

 

 

3 Answers, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 19 Mar 2018, 11:53 AM
Hello Floyd,

I have replied to your query in the other thread that you have submitted and suggest we continue the conversation there. With that said, please avoid submitting duplicate threads. This would enable us to keep better track of the support history and provide answers faster.


Regards,
Viktor Tachev
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.


0
Floyd
Top achievements
Rank 1
answered on 19 Mar 2018, 01:44 PM
Hi Viktor, what other thread?
0
Viktor Tachev
Telerik team
answered on 20 Mar 2018, 09:55 AM
Hello Floyd,

This is the other post with the same title submitted from your account. 


Please reply there or submit a support ticket if you have additional queries.

Regards,
Viktor Tachev
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Floyd
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Floyd
Top achievements
Rank 1
Share this question
or