Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fherryfherry authored Jun 17, 2019
1 parent 017bc76 commit 8a053c9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Do not use this master repository for production
1. [Radio Button](#radio-button)
1. [WYSIWYG](#wysiwyg)
1. [Additional Basic Options](#additional-basic-options)
1. [Transform index cell value or detail cell value](#transform-index-cell-value-or-detail-cell-value)
1. [Show Column To Specific Page](#show-column--input-to-specific-page)
1. [Buttons Display Control](#buttons-display-control)
1. [Additional View](#additional-view)
Expand Down Expand Up @@ -471,6 +472,12 @@ Additional options :
| <code>->placeholder("Enter the text");</code> | To set the input placeholder |
| <code>->validation("string");</code> | To set the input validation (laravel validation) |

# Transform index cell value or detail cell value
| Name | Description |
| --- | --- |
| <code>->indexDisplayTransform(function($value, $row) { return $value; });</code> | To transform the index value. $value is current value of cell, $row is collection of current record |
| <code>->detailDisplayTransform(function($value, $row) { return $value; });</code> | To transform the detail value. $value is current value of cell, $row is collection of current record |

**Example**
```php
$this->addText("Foo Bar")
Expand Down Expand Up @@ -627,4 +634,4 @@ To use this feature you have to set the Google FCM Key at <code>config/crudboost

// Or you can send to ios with this bellow
$fcm->sendToIos($reg_id_array, $title, $message,$data);
```
```

0 comments on commit 8a053c9

Please sign in to comment.