Skip to content

Commit

Permalink
Apply review comments. Add same divs as in generated samples for unkn…
Browse files Browse the repository at this point in the history
…own reasons.
  • Loading branch information
MayaKirova committed Dec 14, 2023
1 parent 65e8cd3 commit f355840
Showing 1 changed file with 42 additions and 38 deletions.
80 changes: 42 additions & 38 deletions samples/grids/grid/infinite-scroll/App.razor
Original file line number Diff line number Diff line change
Expand Up @@ -2,44 +2,48 @@
@using System.Net.Http;
@using Newtonsoft.Json;

<IgbGrid AutoGenerate="false"
Height="480px"
Name="grid"
Id="grid"
Data="LocalData"
@ref="grid"
DataPreLoad="OnDataPreLoad">
<IgbColumn Name="ID"
Field="ProductID"
Header="ID">
</IgbColumn>

<IgbColumn Name="ProductName"
Field="ProductName"
Header="Product Name">
</IgbColumn>

<IgbColumn Name="QuantityPerUnit"
Field="QuantityPerUnit"
Header="Quantity Per Unit">
</IgbColumn>

<IgbColumn Name="UnitPrice"
Field="UnitPrice"
Header="Unit Price">
</IgbColumn>

<IgbColumn Name="OrderDate"
Field="OrderDate"
Header="Order Date">
</IgbColumn>

<IgbColumn Name="Discontinued"
Field="Discontinued"
Header="Discontinued">
</IgbColumn>

</IgbGrid>
<div class="container vertical">
<div class="container vertical fill">
<IgbGrid AutoGenerate="false"
Height="480px"
Name="grid"
Id="grid"
Data="LocalData"
@ref="grid"
DataPreLoad="OnDataPreLoad">
<IgbColumn Name="ID"
Field="ProductID"
Header="ID">
</IgbColumn>

<IgbColumn Name="ProductName"
Field="ProductName"
Header="Product Name">
</IgbColumn>

<IgbColumn Name="QuantityPerUnit"
Field="QuantityPerUnit"
Header="Quantity Per Unit">
</IgbColumn>

<IgbColumn Name="UnitPrice"
Field="UnitPrice"
Header="Unit Price">
</IgbColumn>

<IgbColumn Name="OrderDate"
Field="OrderDate"
Header="Order Date">
</IgbColumn>

<IgbColumn Name="Discontinued"
Field="Discontinued"
Header="Discontinued">
</IgbColumn>

</IgbGrid>
</div>
</div>

@code {
@code {
Expand Down

0 comments on commit f355840

Please sign in to comment.