Delay resolving rows value from model to allow using custom query to be handle from within Orchestra\Html\Table\Grid. Replacement for #22.
Avoid circular loop as Orchestra\Html\Table\Grid::rows() is allow use as a getter when given parameter is null.

Signed-off-by: crynobone <crynobone@gmail.com>
Add sortable and searchable. Replacement for #22.

Signed-off-by: crynobone <crynobone@gmail.com>
Add default value.

Signed-off-by: crynobone <crynobone@gmail.com>
Update changelog.

Signed-off-by: crynobone <crynobone@gmail.com>
Avoid using global functions.

Signed-off-by: crynobone <crynobone@gmail.com>
Improve testcase.

Signed-off-by: crynobone <crynobone@gmail.com>
Additional testcase improvement.

Signed-off-by: crynobone <crynobone@gmail.com>
Merge pull request #23 from orchestral/feature/sortable

Add Orchestra\Html\Table\Grid::searchable() and Orchestra\Html\Table\Grid::sortable() to facilitate searching and sorting.
Merge branch '2.1' into 2.2

Signed-off-by: crynobone <crynobone@gmail.com>

Conflicts:
	tests/Form/FactoryTest.php
	tests/Form/FormBuilderTest.php
	tests/Table/FactoryTest.php
	tests/Table/GridTest.php
	tests/Table/TableBuilderTest.php
Utilize Illuminate\Support\Arr.

Signed-off-by: crynobone <crynobone@gmail.com>
Include testcase for new searchable() and sortable() method.

Signed-off-by: crynobone <crynobone@gmail.com>
Fixes bug when using searchable().

Signed-off-by: crynobone <crynobone@gmail.com>
Allow to retrieve instance of `Illuminate\Http\Request` and `Illuminate\Translation\Translator` from within Form and Table builder. Closes #20.

Signed-off-by: crynobone <crynobone@gmail.com>
Improve readme.

Signed-off-by: crynobone <crynobone@gmail.com>
Merge branch '2.1' into 2.2

Signed-off-by: crynobone <crynobone@gmail.com>

Conflicts:
	README.md
	composer.json
Run convert to paginator before anything and set the value
of $this->model.

Signed-off-by: crynobone <crynobone@gmail.com>
Add paginate options.

Signed-off-by: crynobone <crynobone@gmail.com>
Small tweak and add more testcases.

Signed-off-by: crynobone <crynobone@gmail.com>
Rearrange code.

Signed-off-by: crynobone <crynobone@gmail.com>