|
<SfTab @ref="Tabs">
<TabItems>
<TabItem>
<ChildContent>
<TabHeader Text="Grid 1"></TabHeader>
</ChildContent>
<ContentTemplate>
<SfGrid @ref="Grid1" DataSource="@Orders" ShowColumnChooser="true"
AllowResizing="true" AllowPaging="true" AllowFiltering="true"
AllowSorting="true">
<GridEvents OnActionBegin="@((args)=>OnSave(args,"Grid1"))" TValue="Order"></GridEvents>
. .. .
</SfGrid>
</ContentTemplate>
</TabItem>
<TabItem>
<ChildContent>
<TabHeader Text="Grid 2"></TabHeader>
</ChildContent>
<ContentTemplate>
<SfGrid @ref="Grid2" DataSource="@Orders" ShowColumnChooser="true"
AllowResizing="true" AllowPaging="true" AllowFiltering="true"
AllowSorting="true">
<GridEvents OnActionBegin="@((args)=>OnSave(args,"Grid2"))" TValue="Order"></GridEvents>
. . . . .
</SfGrid>
</ContentTemplate>
</TabItem>
<TabItem>
<ChildContent>
<TabHeader Text="Grid 3"></TabHeader>
</ChildContent>
<ContentTemplate>
<SfGrid @ref="Grid3" DataSource="@Orders" ShowColumnChooser="true"
AllowResizing="true" AllowPaging="true" AllowFiltering="true"
AllowSorting="true">
<GridEvents OnActionBegin="@((args)=>OnSave(args,"Grid3"))" TValue="Order"></GridEvents>
. . . .
</SfGrid>
</ContentTemplate>
</TabItem>
<TabItem>
<ChildContent>
<TabHeader Text="Grid 4"></TabHeader>
</ChildContent>
<ContentTemplate>
<SfGrid @ref="Grid4" DataSource="@Orders" ShowColumnChooser="true"
AllowResizing="true" AllowPaging="true" AllowFiltering="true"
AllowSorting="true">
<GridEvents OnActionBegin="@((args)=>OnSave(args,"Grid4"))" TValue="Order"></GridEvents>
.. . .
</SfGrid>
</ContentTemplate>
</TabItem>
</TabItems>
</SfTab>
|