GithubHelp home page GithubHelp logo

mesour / datagrid Goto Github PK

View Code? Open in Web Editor NEW
31.0 31.0 18.0 1.14 MB

Mesour DataGrid for Nette with options like to dump tree, inline edit, export to csv, create sub grids and sub items, sort data using jQuery.ui.nestedSortable and much more

Home Page: http://grid.mesour.com

License: Other

PHP 99.84% HTML 0.16%

datagrid's People

Contributors

jazby avatar mesour avatar mesourcz avatar spernica avatar vymak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

datagrid's Issues

DateColumn does not accepts 'null'

Instead it creates new instance of Datetime with current date and time. If the source does not provide date for the column (for example something has not yet happened), the datagrid automatically assumes current date.

+ setImgPath() u Column\Image

Hodilo by se mít možnost určit začátek URL zobrazovaných obrázků. Případně mít callbackovou metodu pro vytvoření URL na základě řádku z databáze (může vycházet třeba z více sloupečků).

setLineId

Hyperlogika skrytá za metodou DataGrid->setLineId a nutností jejího volání je nad rámec chápání programátora, který neovládá jazyk, v němž je napsán komentář "Set line id for example: for sorting".

DoctrineDataSource support

Dobrý den,
je v plánu přidat podporu pro doctrinu?

Povedlo se mi rozjet data z doctriny prez ArrayDataSource data source ale musel jsem udělat par uprav do BaseGrid.php, bylo by dobré vytáhnout získávání názvů sloupců do IDataSource abych mohl pracovat s objektem implementujícím ArrayAccess.

Pokud by jste zvážil tuto úpravu IDataSource, mohl bych se pokusit DS pro Doctrinu napsat a poslat PR.

Filtering with doctrine

When filtering using doctrine as data source, filter parameters mixed up and filter works wrong.

NetteDBDataSource - group by

When you have in query for NetteDBDataSource GROUP BY, queries looks like this:
SELECT COUNT() FROM table -- missing GROUP BY
SELECT * FROM table GROUP BY column

Right count will be like something this:
SELECT COUNT() FROM (SELECT … FROM table WHERE … GROUP BY column)

I compare NetteDBDataSource and DibiDataSource. DibiDataSource is working fine.

Testing on v2.0.7.2

Pager při více stránkách

  1. Přidat doplňování teček, pokud je více stránek.
  2. Udělat možnost nastavit kolik je "hodně stránek" a také možnost nastavit, kolik se bude zobrazovat čísel před tečkami, uprostřed a na konci.
  3. Přidat input pro zapsání stránky a možnost přejít na konkrétní stránku

Column\Button nepřijímá Utils\Button

$grid->column((new Column\Button)
    ->setText('abc')
    ->setButtons(array(new Utils\Button($grid->presenter))));

vrací Argument 1 passed to DataGrid\Utils\Option::__construct() must be of the type array, object given.
Navíc nutnost manuálního předávání presenteru je poněkud nešikovná.

Escaping output data

Is it an issue or it's not just featured in datagrid to escape output data on input on editable columns ?

Strip html tags when exporting

Is there a way to remove HTML tags from CSV when exporting?

I have custom callback for one of my column, I add bootstraps .label component to it, but when I export the table, the HTML of .label is there too, this should be striped.

Best way would be to have this configurable, either globally or per column. Maybe another callback method to format output for export?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.