예제 #1
0
        private void UpdateGridData()
        {
            var orderField = new SSM.Services.SortField(grid.Pager.Sidx, grid.Pager.Sord == "asc");

            filterModel.SortField = orderField;
            GetDefaultData();
            var totalRow = 0;
            var mts      = salesServices.GetAllModel(filterModel, grid.Pager.CurrentPage, grid.Pager.PageSize, out totalRow, CurrenUser);

            grid.Pager.Init(totalRow);

            grid.Data = mts;
        }