Skip to content

jan-oliva/JO-Nette-Grido

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DateRange extension for Grido Grid

see https://packagist.org/packages/o5/grido

usage

boostrap.php

JO\Nette\Grido\Components\Filters\DateRangeExt::register();

create data grid

$this->dg  - instance of Grido grid
$dtExample = '1.1.2014-31.5.2014';
$this->dg
	->addFilterDateRangeExt('orderDate', $this->getColumnLabel('orderDate'))
    ->getControl()->getControlPrototype()->attrs['placeholder'] = $dtExample;

$this->dg->getFilter('orderDate')->getControl()->getControlPrototype()->attrs['title'] = $dtExample;

About

extensions for grido grid

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages