Skip to content

Commit

Permalink
Update package version 1.6.10
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavnavar committed Jul 4, 2020
1 parent a6e61ec commit f63fc6d
Show file tree
Hide file tree
Showing 8 changed files with 78 additions and 8 deletions.
2 changes: 1 addition & 1 deletion GridBlazor/GridBlazor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<LangVersion>8.0</LangVersion>
<GenerateEmbeddedFilesManifest>True</GenerateEmbeddedFilesManifest>
<EnableDefaultEmbeddedResourceItems>False</EnableDefaultEmbeddedResourceItems>
<Version>1.6.9</Version>
<Version>1.6.10</Version>
<Title>GridBlazor</Title>
<Description>Grid components for Blazor</Description>
<Summary>Grid components for Blazor</Summary>
Expand Down
2 changes: 1 addition & 1 deletion GridMvc/GridMvc.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<EnableDefaultEmbeddedResourceItems>False</EnableDefaultEmbeddedResourceItems>
<Product>GridMvc</Product>
<PackageId>GridMvcCore</PackageId>
<Version>2.15.4</Version>
<Version>2.15.5</Version>
<Title>GridMvc</Title>
<Description>ASP.NET MVC Grid component</Description>
<Summary>ASP.NET MVC Grid component</Summary>
Expand Down
2 changes: 1 addition & 1 deletion GridShared/GridShared.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>8.0</LangVersion>
<Version>2.15.3</Version>
<Version>2.15.5</Version>
<Title>GridShared</Title>
<Description>Support library for GridBlazor and GridMvcCore component libraries</Description>
<Summary>Support library for GridBlazor and GridMvcCore component libraries</Summary>
Expand Down
19 changes: 18 additions & 1 deletion docs/blazor_client/Selecting_row.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

There are 2 ways to configure selecting rows:
- using the ```Selectable``` method of the ```GridClient``` object
- using the ```SetCheckboxColumn``` method on the column definition
- using the ```SetCheckboxColumn``` or ```SetSingleCheckboxColumn``` methods on the column definition

## Selectable method

Expand Down Expand Up @@ -137,4 +137,21 @@ This is an example of grid using ```SetCheckboxColumn```:

![](../images/Checkbox_column.png)

## SetSingleCheckboxColumn method

This case is very similar to the previous one, with the exception of only one checkbox selected at a time.
When you select a checkbox, any other checkboxes are automatically unchecked.

You can add one or more columns with checkboxes on each row.

```c#
c.Add("CheckboxColumn").SetSingleCheckboxColumn();
c.Add(o => o.OrderID).SetPrimaryKey(true);
```
Columns defined in this way must be not connected ones (defined with ```Add()``` method). But they can have a name (defined with ```Add("columnName")``` method).

It's also mandatory to identify the columns that are primary keys for the grid. You must do it using the ```SetPrimaryKey(true)``` method for the primary key columns' definitions.

```SetSingleCheckboxColumn``` method has no parameters.

[<- Grouping](Grouping.md) | [Searching ->](Searching.md)
2 changes: 2 additions & 0 deletions docs/blazor_odata/GridBlazor_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,7 @@ SetModifierKey | Configure the modifier key for keyboard navigation | GridClient
EmptyText | Setup the text displayed for all empty items in the grid | GridClient<Order>(...).EmptyText(' - ');
WithGridItemsCount | Allows the grid to show items count | GridClient<Order>(...).WithGridItemsCount();
SetRowCssClasses | Setup specific row css classes | GridClient<Order>(...).SetRowCssClasses(item => item.Customer.IsVip ? "success" : string.Empty);
UseODataExpand | Add subclasses to the list of items to be expanded with OData | GridClient<Order>(...).UseODataExpand(new List<string> { "Employee", "Shipper" });
OverrideODataExpand | Override the list of subclasses to expand with OData | GridClient<Order>(...).OverrideODataExpand(new List<string> { "Employee", "Shipper" });

[<- Quick start](Quick_start.md) | [Keyboard navigation ->](Keyboard_navigation.md)
21 changes: 19 additions & 2 deletions docs/blazor_odata/Selecting_row.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

There are 2 ways to configure selecting rows:
- using the ```Selectable``` method of the ```GridODataClient``` object
- using the ```SetCheckboxColumn``` method on the column definition
- using the ```SetCheckboxColumn``` or ```SetSingleCheckboxColumn``` methods on the column definition

## Selectable method

Expand Down Expand Up @@ -104,7 +104,7 @@ It's also mandatory to identify the columns that are primary keys for the grid.
- expression: it's a ```Func<T, bool>``` to define the initial value of the checkbox for each row
- readonlyExpr (optional): it's a ```Func<T, bool>``` to configure the checkbox for each row as read only

**Important:** ```CheckedRows``` pr0perty is not available since release 1.6.2. ```CheckedRows``` only allowed to retrieve the checked values, but not to change them. Use the ```Checkboxes``` property instead of it.
**Important:** ```CheckedRows``` property is not available since release 1.6.2. ```CheckedRows``` only allowed to retrieve the checked values, but not to change them. Use the ```Checkboxes``` property instead of it.

If you want to retrieve or change the checked values for each row, you can use the ```Checkboxes``` property of the ```GridComponent``` object.
It is a dictionary that contains references to all checkbox components for each column.
Expand Down Expand Up @@ -137,4 +137,21 @@ This is an example of grid using ```SetCheckboxColumn```:

![](../images/Checkbox_column.png)

## SetSingleCheckboxColumn method

This case is very similar to the previous one, with the exception of only one checkbox selected at a time.
When you select a checkbox, any other checkboxes are automatically unchecked.

You can add one or more columns with checkboxes on each row.

```c#
c.Add("CheckboxColumn").SetSingleCheckboxColumn();
c.Add(o => o.OrderID).SetPrimaryKey(true);
```
Columns defined in this way must be not connected ones (defined with ```Add()``` method). But they can have a name (defined with ```Add("columnName")``` method).

It's also mandatory to identify the columns that are primary keys for the grid. You must do it using the ```SetPrimaryKey(true)``` method for the primary key columns' definitions.

```SetSingleCheckboxColumn``` method has no parameters.

[<- Grouping](Grouping.md) | [Searching ->](Searching.md)
19 changes: 18 additions & 1 deletion docs/blazor_server/Selecting_row.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

There are 2 ways to configure selecting rows:
- using the ```Selectable``` method of the ```GridClient``` object
- using the ```SetCheckboxColumn``` method on the column definition
- using the ```SetCheckboxColumn``` or ```SetSingleCheckboxColumn``` methods on the column definition

## Selectable method

Expand Down Expand Up @@ -137,4 +137,21 @@ This is an example of grid using ```SetCheckboxColumn```:

![](../images/Checkbox_column.png)

## SetSingleCheckboxColumn method

This case is very similar to the previous one, with the exception of only one checkbox selected at a time.
When you select a checkbox, any other checkboxes are automatically unchecked.

You can add one or more columns with checkboxes on each row.

```c#
c.Add("CheckboxColumn").SetSingleCheckboxColumn();
c.Add(o => o.OrderID).SetPrimaryKey(true);
```
Columns defined in this way must be not connected ones (defined with ```Add()``` method). But they can have a name (defined with ```Add("columnName")``` method).

It's also mandatory to identify the columns that are primary keys for the grid. You must do it using the ```SetPrimaryKey(true)``` method for the primary key columns' definitions.

```SetSingleCheckboxColumn``` method has no parameters.

[<- Grouping](Grouping.md) | [Searching ->](Searching.md)
19 changes: 18 additions & 1 deletion docs/dotnetcore_blazor/Selecting_row.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

There are 2 ways to configure selecting rows:
- using the ```Selectable``` method of the ```GridClient``` object
- using the ```SetCheckboxColumn``` method on the column definition
- using the ```SetCheckboxColumn``` or ```SetSingleCheckboxColumn``` methods on the column definition

## Selectable method

Expand Down Expand Up @@ -137,4 +137,21 @@ This is an example of grid using ```SetCheckboxColumn```:

![](../images/Checkbox_column.png)

## SetSingleCheckboxColumn method

This case is very similar to the previous one, with the exception of only one checkbox selected at a time.
When you select a checkbox, any other checkboxes are automatically unchecked.

You can add one or more columns with checkboxes on each row.

```c#
c.Add("CheckboxColumn").SetSingleCheckboxColumn();
c.Add(o => o.OrderID).SetPrimaryKey(true);
```
Columns defined in this way must be not connected ones (defined with ```Add()``` method). But they can have a name (defined with ```Add("columnName")``` method).

It's also mandatory to identify the columns that are primary keys for the grid. You must do it using the ```SetPrimaryKey(true)``` method for the primary key columns' definitions.

```SetSingleCheckboxColumn``` method has no parameters.

[<- Grouping](Grouping.md) | [Searching ->](Searching.md)

0 comments on commit f63fc6d

Please sign in to comment.