php-pike / pike Goto Github PK
View Code? Open in Web Editor NEWPiKe - Extension to ZendFramework(1/2)/Doctrine2 projects
Home Page: http://pike-project.org
PiKe - Extension to ZendFramework(1/2)/Doctrine2 projects
Home Page: http://pike-project.org
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
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
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?
there is a programming language named Pike: http://pike.lysator.liu.se/
would it be possible to rename this project?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.