private Core.Controls.Model.Grid CreateOfferGrid()
{
Core.Controls.Model.Grid offerGrid = new PopupGrid("ProjectOfferCalculationForm");
offerGrid.ItemsSource = "ProjectRealization";
offerGrid.ItemType = "IAngeboten";
offerGrid.BindTo = "ProjectRealization";
offerGrid.AllowAdd = true;
offerGrid.Group = "PR_ANG_OFFER";
offerGrid.AllowDelete = true;
offerGrid.AllowEdit = true;
offerGrid.IsInline = false;
offerGrid.Advanced = true;
offerGrid.KendoPopUp = true;
offerGrid.Columns.Add(new GridColumnDefinition("Id", "Id", ColumnType.Text, false));
offerGrid.Columns.Add(new GridColumnDefinition("Number", ProjectsModuleDefinition.ProvideOffersNumberColumnName(), ColumnType.Text, true) { Width = "20" });
return offerGrid;
}
您在pictrue中看到没有滚动。我不知道如何使此滚动可见。
答案 0 :(得分:0)
您可以使用以下设置启用滚动条:
PageSize = 50;
VerticalScrollBarMode = ScrollBarMode.Visible;
VerticalScrollableHeight = 300;
这是here所找到的。