Skip to content

Commit

Permalink
docs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
paveljanda committed Sep 29, 2020
1 parent 269d67c commit e31f982
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .docs/columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,8 @@ $grid->addColumnLink('name', 'Name', 'edit')

## Column Status

![Status 1](assets/status1.gif)
![Status 1](assets/status2.gif)
![Status 1](https://github.com/contributte/datagrid/blob/master/.docs/assets/status1.gif)
![Status 1](https://github.com/contributte/datagrid/blob/master/.docs/assets/status2.gif)

Once your item keep some "status" flag, it is appropriate to show user the status in highlighted form. Also there could be a dropdown with available statuses:

Expand Down Expand Up @@ -345,7 +345,7 @@ $grid->getColumn('status')->getOption(2)

## Hideable columns

![Columns Hiding](assets/hideable_columns.gif)
![Columns Hiding](https://github.com/contributte/datagrid/blob/master/.docs/assets/hideable_columns.gif)

In example datargid above, you can hide columns and then reveal them again. This feature is disabled by default. You can enable it like this:

Expand All @@ -366,7 +366,7 @@ $grid->addColumnText('name', 'Name')

If default hide is used, new button is shown in that settings (gear) dropdown - **Show default columns**:

<img title="Columns Hiding" src="assets/hideable_columns_reset.png" width="267" height="256">
<img title="Columns Hiding" src="https://github.com/contributte/datagrid/blob/master/.docs/assets/hideable_columns_reset.png" width="267" height="256">

## Columns Summary

Expand Down

0 comments on commit e31f982

Please sign in to comment.