Ext.NET icon indicating copy to clipboard operation
Ext.NET copied to clipboard

absent: StoreResult type and extension method "Store" of Controller

Open zgcgwin opened this issue 5 years ago • 3 comments

zgcgwin avatar May 06 '20 05:05 zgcgwin

Hi @zgcgwin. Thanks for submitting the issue.

Can you provide a code sample demonstrating the expected result? Is this related to Ext.NET Classic 7.0?

geoffreymcgill avatar May 06 '20 05:05 geoffreymcgill

Yes, it is related to Ext.NET Classic 7.0.

public IActionResult Load(FormCollection formData)
{
    var ic = ConfigIC(InstancesGrid.ItemTypeId, formData);

    LoadIC(ic);

    var total = ic.IsPagination ? (int)ic.Pagination.RowCount : ic.Count();

    return this.Store(GetDataByIC(ic), total);
}

I can handler store`s load data request like above code from previous ext.net mvc version。

zgcgwin avatar May 06 '20 05:05 zgcgwin

Thanks for the sample. We will investigate right away.

geoffreymcgill avatar May 06 '20 05:05 geoffreymcgill