Code Monkey home page Code Monkey logo

pike's People

Contributors

keesschepers avatar nicovogelaar avatar pietervogelaar avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

pike's Issues

Using Concat in Datasource-Query breaks all filtering

I am trying to use Pike 1.2 (53) together with some of Mysqls concat functions in a project.
Unfortunately it seems that if a concat field is present in the query, the whole Datasource will stop responding to filters (not only the concat'ed field, but all).

Is there any chance this might be fixed in the future? I am currently trying to find a solution myself, but so far without much luck.

Best regards,
Hendrik

SearchGrid implementation missing

Hi guys,

first off: Great project you have. I've been loving it so far.

One thing I've come across (but was unable to implement myself) is that the searchGrid option seems to be not yet implemented. I can search for entries by using the filter toolbar, however using the pop-up via searchGrid option will always return all entries, without the filter applied. I'm suspecting the Datasource object does not yet take the parameters searchField / searchString / searchOper into consideration, only the filters option.

It would be great if this feature could be implemented at some point.

Best Regards,
Hendrik

It seems to be unpossible to load the grid by ajax

As far as I investigated the code and tested it myself it seems to be unpossible to make datatables load the data thru AJAX by specifying the option "sAjaxSource".

I think that should be default behavior and with the datatable (or the abstract) it should be possible to render either the table HTML and the JSON response which datatable JS library needs.

Therefore it might be nice if you could create a grid like this:

$dataTable = $this->getServiceLocator()->get('Pike\DataTables')->create('my_own_grid');

Then 'my_own_grid' should be a service, which you can customize or take the abstract service from Pike self:

'service_manager' => array(
    'my_own_grid' => function($sm) {
        $dataTable = new \Pike\DataTable($adapter, $dataSource, $etc);
        $adapter->setTemplateFile('customer/template');
    }
)

Or you create it with the abstract factory:

'service_manager' => array(
    'my_own_grid' => '\Pike\DataTable\ServiceFactory',
),
'pike' => array(
    'datatable' => array(
        'my_own_grid' => array(
            'template' => 'custom/template'
        )
    )
)

I am using ZfcTwig and now Pike\DataTable isn't able to work ๐Ÿ‘Ž

Any ideas on this @nicovogelaar?

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.