The new version 4.2.7 of PHP DataGrid is available for downloading from here.
There are some changes in this version. Read carefully Getting Started.
From Version 4.2.4 PHP DataGrid works with PHP 5 ONLY!!! If you still use PHP 4 - find old version in "php4" folder
Main additions and improvements:
1. * Feature: [added] new language: russian (ru)
2. * Feature: [added] new type for fields in view mode: enum
3. * Feature: [added] new language: greek (gr). Provided by: tequilero@ath.forthnet.gr
4. * Feature: [added] new non-documented property - "NoDataFoundText"
5. * Feature: [added] new field type in view mode - "money" suggested by "drackor"
6. * Feature: [added] new field type in add/edit modes: "type"=>"foreign_key" for foreign keys
7. * Feature: [added] new attributes in filtering mode for dropdownlist: "show" and "condition"
suggested by Fcallez
8. * Feature: [added] new attribute sort_type="string|numeric" in view mode
1. = Feature: [improved] ignore filter field if there was empty 'table' or 'field' attribute
2. = Feature: [improved] in view mode in "case" attribute added new option "camel"
3. = Feature: [improved] all method rewritten from aaBbbCcc() into AaaBbbCcc mode
1. # Bug: [fixed] diactric chars error in IE for UTF-8 charset
2. # Bug: [fixed] with readonly attribute for "image" and "file" fields
3. # Bug: [fixed] for oracle in oci8.php - "Fatal error: Cannot use object of type DB_Error..."
etc.
To view a Live Demo click here.
To download new version click here.
3 comments:
I just ran into this wonderful script, it helped me create functional datagrids in minutes. There are some things I don't yet understand, most importantly: how do I do server-side validation? Javascript checks can be bypassed by those who want to, so I would like to be able to check my data before it gets actually inserted in the database?
Kind regards,
Henk.
Wondering if you could implement a prefix property, so you can prefix the query string when sorting. If I have a page like this...
index.php?page=somepage§ion=settings
... when sorting, the query string looks like this:
index.php?pr_mode=view&pr_page_size=10&pr_p=1&pr_sort_field=5&pr_sort_field_by=&pr_sort_field_type=&pr_sort_type=asc
and so does not go back to the proper page/section.
thanks for sharing it.
it is very useful tips and it is very helpful in website design.
Post a Comment