コード例 #1
0
        public ActionResult AccountTransactionsGridActionCore(GridViewModel gridViewModel, int?accountId)
        {
            gridViewModel.ProcessCustomBinding(
                new GridViewCustomBindingGetDataRowCountHandler(args =>
            {
                FinancialTransactionsCustomBinding.FinancialTransactionsGetDataRowCount(args, CurrentTenantId, CurrentWarehouseId, accountId);
            }),

                new GridViewCustomBindingGetDataHandler(args =>
            {
                FinancialTransactionsCustomBinding.FinancialTransactionsGetData(args, CurrentTenantId, CurrentWarehouseId, accountId);
            })
                );

            return(PartialView("_AccountTransactionsGridPartial", gridViewModel));
        }