Skip to content

Commit

Permalink
Merge pull request #13 from wannevancamp/spelling
Browse files Browse the repository at this point in the history
Improve spelling
  • Loading branch information
Aziz403 authored Mar 4, 2023
2 parents 78060d3 + 7ed921a commit de82957
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion docs/columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ In this is why we have many ``Columns`` types with different jobs:
### TextColumn
The simple column type, helps you to render the text of your entity.
### BadgeColumn
Another simple column type, but its writes your entity field inside a html badege.
Another simple column type, but its writes your entity field inside a html badge.
### BooleanColumn
In the main it's for the boolean fields, to display for example 'Yes' & 'No' keywords place of 'true' & 'false',
but can you use it with another field types with the by added ``render`` in your BooleanColumn.
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ datatable:
```
Can you customize the config to be compatible with what you're wants.
But first remember! This is shoud be global configuration and can you change it in your `Datatable`.
But first remember! This should be global configuration and can you change it in your `Datatable`.

This the Datatable options:

Expand Down
12 changes: 6 additions & 6 deletions docs/event.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This image explain how events runs:

The following is a list of events you can listen to:

| Event name | Event constant | Event argement | Trigger point |
| Event name | Event constant | Event argument | Trigger point |
|------------|----------------|----------------|--------------|
| `datatable.pre_query` | `Events::PRE_QUERY` | `RenderQueryEvent::class` | before create query to get records |
| `datatable.search_query` | `Events::SEARCH_QUERY` | `RenderSearchQueryEvent::class` | after create query builder to get records |
Expand Down Expand Up @@ -48,7 +48,7 @@ services:
### Example 2
We also have another way to set event easy ,but this is technique works just with `datatable.search_query` event:
We also have another way to set event easy, but this is technique works just with `datatable.search_query` event:

```php
$datatable = $builder->createDatatableFromEntity(Product::class);
Expand Down Expand Up @@ -76,7 +76,7 @@ return $this->render('simple_datatable.html.twig', [
]);
```

### Different Betwenn ``addCriteria`` and ``addFilter``
### Different Between ``addCriteria`` and ``addFilter``

To explain the different, lets see examples:

Expand All @@ -93,8 +93,8 @@ The Result looks like:

#### Using ``addCriteria``

The Criteria applyed for all records, filtered or not!
This custimize data will be viewed in datatable
The Criteria applied for all records, filtered or not!
This customized data will be viewed in datatable

```
[
Expand All @@ -106,7 +106,7 @@ This custimize data will be viewed in datatable
#### Using ``addFilter``
The Filter applyed jusft to the filtered records.
The Filter applied just to the filtered records.
And can you use it to add a custom search or filter.
```
Expand Down
2 changes: 1 addition & 1 deletion docs/languages_and_translation.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ datatable:
```
#### 2 - Local Configuration
In this is situation the config will be applyed just in the current ``$datatable`` instance:
In this is situation the config will be applied just in the current ``$datatable`` instance:
```php
//....
Expand Down
4 changes: 2 additions & 2 deletions docs/themes.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Themes Configuration
=========

Change the global datatable theme esay by changing the ``style`` key in configuration:
Change the global datatable theme by changing the ``style`` key in configuration:

```yaml
datatable:
Expand All @@ -14,7 +14,7 @@ The available style themes is the same of datatables.net [styling themes](https:
| ---- | ---- |
| none | without using any theme |
| bootstrap3 | [Example](https://datatables.net/examples/styling/bootstrap.html) |
| bootstrap4 | [Exmaple](https://datatables.net/examples/styling/bootstrap4.html) |
| bootstrap4 | [Example](https://datatables.net/examples/styling/bootstrap4.html) |
| bootstrap5 | [Example](https://datatables.net/examples/styling/bootstrap5.html) |
| foundation | [Example](https://datatables.net/manual/styling/foundation) |
| bulma | [Example](https://datatables.net/examples/styling/bulma.html) |
Expand Down

0 comments on commit de82957

Please sign in to comment.