The release "BUG" does not exist for plugin "sfDatagridPlugin".
sfDatagridPlugin
1.5.5stable
for sf 1.4sf 1.3sf 1.2 MIT
Now at github : https://github.com/cedriclombardot/sfDatagridPlugin
This plugins allow to create an ajax datagrid with sorting columns, line highlight, action on the line with a checkbox, data paging, column search, etc...
Developers
License
Copyright (c) 2008-2009 OpenBusiness SA (info@openbusiness.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Releases for sf 1.4
| Version |
License |
API |
Released |
|
1.5.5stable
|
MIT |
1.5.5stable
|
17/09/2010 |
|
1.5.4stable
|
MIT |
1.5.4stable
|
08/09/2010 |
|
1.5.3stable
|
MIT |
1.5.3stable
|
23/06/2010 |
|
1.5.2stable
|
MIT |
1.5.2stable
|
18/06/2010 |
|
1.5.1stable
|
MIT |
1.5.1stable
|
14/06/2010 |
|
1.5.0stable
|
MIT |
1.5.0stable
|
29/01/2010 |
Releases for sf 1.3
| Version |
License |
API |
Released |
|
1.5.5stable
|
MIT |
1.5.5stable
|
17/09/2010 |
|
1.5.4stable
|
MIT |
1.5.4stable
|
08/09/2010 |
|
1.5.3stable
|
MIT |
1.5.3stable
|
23/06/2010 |
|
1.5.2stable
|
MIT |
1.5.2stable
|
18/06/2010 |
|
1.5.1stable
|
MIT |
1.5.1stable
|
14/06/2010 |
|
1.5.0stable
|
MIT |
1.5.0stable
|
29/01/2010 |
Releases for sf 1.2
| Version |
License |
API |
Released |
|
1.5.5stable
|
MIT |
1.5.5stable
|
17/09/2010 |
|
1.5.4stable
|
MIT |
1.5.4stable
|
08/09/2010 |
|
1.5.3stable
|
MIT |
1.5.3stable
|
23/06/2010 |
|
1.5.2stable
|
MIT |
1.5.2stable
|
18/06/2010 |
|
1.5.1stable
|
MIT |
1.5.1stable
|
14/06/2010 |
|
1.5.0stable
|
MIT |
1.5.0stable
|
29/01/2010 |
|
1.4.0stable
|
MIT |
1.4.0stable
|
27/10/2009 |
|
1.3.6stable
|
MIT |
1.3.6stable
|
17/06/2009 |
|
1.3.5stable
|
MIT |
1.3.5stable
|
11/05/2009 |
|
1.3.4stable
|
MIT |
1.3.4stable
|
06/03/2009 |
|
1.3.2stable
|
MIT |
1.3.2stable
|
03/03/2009 |
|
1.2.3stable
|
MIT |
1.2.3stable
|
29/01/2009 |
|
1.2.2stable
|
MIT |
1.2.2stable
|
29/01/2009 |
|
1.1.0stable
|
MIT license |
1.1.0stable
|
28/01/2009 |
|
1.0.8stable
|
MIT license |
1.0.8stable
|
16/01/2009 |
|
1.0.7stable
|
MIT license |
1.0.7stable
|
16/01/2009 |
Changelog for release 1.5.5 - 17/09/2010
New Propel Admin Generator for sf1.4
Other releases
Release 1.5.5 - 17/09/2010
New Propel Admin Generator for sf1.4
Release 1.5.4 - 08/09/2010
Fix select_tag into sfDatagridFormater. Thx sebastien Aucouturier
Release 1.5.3 - 23/06/2010
- Fix js when no freezepanes
Release 1.5.2 - 18/06/2010
- fix Bug freezepanes on search and reset
- Fix reset tracking var
- fix column align with freezePanes
- fix freezePanes when no scrollbar
- Fix row link Thanks Tomasz Jakub Rup
- Fix reset on IE with Jquery
Release 1.5.1 - 14/06/2010
- Add freezepanes option in config
- Add FreezePanes.jquery.js to freeze panes with jquery like Excel
- Add option config insert_pager_bottom to repeat pager at bottom with sfDatagridFormatter::datagridContainerPagerBottom
- Fix Error on default sort
- optimisate class_exists with sfAutoload::loadClass()
- Optimizating link generation (now once per row)
- Fix Error on reset sort with renderDirect
- Add onclick formatter ease to opên modal_box on click or something else
- Add thick in list for boolean columns
- correct an error_message into _call_action
Release 1.5.0 - 29/01/2010
You could now use renderDirect for fist loading See README
Release 1.4.0 - 27/10/2009
- Now compatible with Doctrine
- You can choose prototype or Jquery in app.yml
- You can change CSS for datagrid an for calendar in app or with sfDatagrid::setCss()
- Correction of IE6 and 7 css bugs
- can sort foreign filter into admingenerator with the order_by_for_filter param into your generator.yml
- Calendar also in french and now start on Monday set with user culture
- Fix preg_match param with ? it makes some problems depending server : see http://www.webmaster-hub.com/topic/45479-probleme-avec-fonction-functionpreg-match-compilation-failed-unrecognized-character/
- Simplify method to surcharge criteria with admin generator
Release 1.3.6 - 17/06/2009
Release 1.3.5 - 11/05/2009
644 http://trac.symfony-project.org/ticket/6444
Release 1.3.4 - 06/03/2009
- Cedric : New features for admin generator and doc for README
Release 1.3.2 - 03/03/2009
- Cedric : The admin generator is Now stable To discover How to use it go to http://symfony.spyrit.net
Release 1.2.3 - 29/01/2009
- David : Fix the relative image_dir parameter
Release 1.2.2 - 29/01/2009
- Fix the Exception when you don't use AdminGenerator
- Fix the traduct fonction on render
- Fix the traduct for "From" and "To"
Release 1.1.0 - 28/01/2009
- David : add the loading box for ajax
- David : put the default text in app.yml
Release 1.0.8 - 16/01/2009
- David : add the default value to the first parameter of the prepare function
* David : add the possiblity to make an empty datagrid action like "Choose the value"
Release 1.0.7 - 16/01/2009
- David : Change the default text in english by default
sfDatagrid plugin
This plugins allow to create an ajax datagrid with sorting columns, line highlight, action on the line with a checkbox, data paging, column search, etc...
Depandencies
Prototype must be loaded to the page
Online documentation
New Documentation : http://wiki.zellerda.com/doku.php/sfdatagridplugin
Go to http://symfony.swisscenter.com/datagrid
To know How use the Old Admin Genrator go to http://symfony.spyrit.net
The new propel Admin generator is documented on Wiki
Now Jquery Compatible
If you want to use Jquery Install sfJqueryReloadedPlugin
$this->getActive()->loadHelpers(array('Form', 'JavascriptBase', 'Javascript', 'jQuery',....);
and in app.yml
all:
datagrid:
jsframwork: jquery # prototype or jquery
Now direct rendering for first call
Use :
sfDatagrid::renderDirect($div,$moduleName,$actionName);
AdminGenerator Step By Step :
SetUp the plugin
After download the plugin :
- Clear your cache symfony cc
Open your AppConfiguration.php File
[php]
public function configure()
{
$this->getActive()->loadHelpers(array( 'JavascriptBase', 'Date', 'Url', 'I18N', 'Tag','Asset','Partial'));
}
Init a new admin module
[php]
symfony propel:generate-admin YOUR_APP YOUR_MODEL
Edit the yml and change the generator class to sfPropelDatagridGenerator and set theme default
Options for the list: part
In the list part you could set :
list:
display: [] #Like for default theme but using = do Nothing the link is for all cells
row_action: show # The action to redirect @MY_MODULE_{row_action}?id={my_object_id} by default is show if with_show = true else edit
hide_filters: [] # To hide filters for some column
sort: [] # Like by default
object_actions: # Like default the link is desactivated on column and the partial _list_td_actions is loaded (without td see your cache)
batch_actions: # Like default
max_per_page: # Like default
actions: # Like default
columns_sorting: # If you want to change the render see after
The column sorting allow you to define the column smth_img calling model->getSmthImg() with your render
But sorting on an existin column like that:
[yml]
list:
display: [ smth_img ]
hide_filters: [ smth_img ] # I haven't making the same operation for filters for the moment
sort: [ smth_img, desc ] #Init sort on this col (optional of course)
columns_sorting:
smth_img: smth #Will translate sortin click smth_img to modelPeer::SMTH