Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes from igniteui-xplat-examples-output+PRs_2024.6.5.4 #727

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,071 changes: 0 additions & 1,071 deletions samples/charts/category-chart/data-filter/SalesData.cs

This file was deleted.

1 change: 1 addition & 0 deletions samples/grids/tree-grid/cell-selection-mode/App.razor
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
PropertyPath="CellSelection"
Name="CellSelectionEditor"
@ref="cellSelectionEditor"
Label="Cell Selection"
ValueType="PropertyEditorValueType.EnumValue"
DropDownNames="@(new string[] { "None", "Single", "Multiple" })"
DropDownValues="@(new string[] { "None", "Single", "Multiple" })">
Expand Down
44 changes: 29 additions & 15 deletions samples/grids/tree-grid/conditional-cell-style-1/App.razor
Original file line number Diff line number Diff line change
Expand Up @@ -8,42 +8,56 @@
Name="treeGrid"
@ref="treeGrid"
Id="treeGrid"
Data="FoodsData"
Data="OrdersTreeData"
PrimaryKey="ID"
ForeignKey="ParentID">
<IgbColumn
Field="ID"
Header="Product ID"
Header="Order ID"
DataType="GridColumnDataType.String">
</IgbColumn>

<IgbColumn
Field="Name"
Header="Product Name"
Header="Order Product"
DataType="GridColumnDataType.String"
BodyTemplateScript="WebTreeGridProductNameTemplate"
CellClassesScript="WebTreeGridAllergensCellClassesHandler"
Name="column1"
@ref="column1">
</IgbColumn>

<IgbColumn
Field="Category"
DataType="GridColumnDataType.String">
</IgbColumn>

<IgbColumn
Field="Units"
DataType="GridColumnDataType.Number">
</IgbColumn>

<IgbColumn
Field="UnitPrice"
Header="Unit Price"
DataType="GridColumnDataType.Number"
BodyTemplateScript="WebTreeGridUnitPriceTemplate"
DataType="GridColumnDataType.Currency"
CellClassesScript="WebTreeGridUnitPriceCellClassesHandler"
Name="column2"
@ref="column2">
</IgbColumn>

<IgbColumn
Field="AddedDate"
Header="Added Date"
Field="Price"
DataType="GridColumnDataType.Currency">
</IgbColumn>

<IgbColumn
Field="OrderDate"
Header="Order Date"
DataType="GridColumnDataType.Date">
</IgbColumn>

<IgbColumn
Field="Discontinued"
Header="Discontinued"
Field="Delivered"
DataType="GridColumnDataType.Boolean">
</IgbColumn>

Expand All @@ -66,16 +80,16 @@
private IgbColumn column1;
private IgbColumn column2;

private FoodsData _foodsData = null;
public FoodsData FoodsData
private OrdersTreeData _ordersTreeData = null;
public OrdersTreeData OrdersTreeData
{
get
{
if (_foodsData == null)
if (_ordersTreeData == null)
{
_foodsData = new FoodsData();
_ordersTreeData = new OrdersTreeData();
}
return _foodsData;
return _ordersTreeData;
}
}

Expand Down
226 changes: 0 additions & 226 deletions samples/grids/tree-grid/conditional-cell-style-1/FoodsData.cs

This file was deleted.

Loading
Loading