-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
r1836 breaks all other deploy classes #3
Comments
From bento.vi...@gmail.com on July 20, 2011 05:33:00 Thanks for the fix. About formatters, mass actions and filters. Formatters format content such as date, currency, and I think this is a core feature that should be used by all deploy classes. The same happens with mass actions. this feature can also be implemented by other deploy classes. At this moment it's not present in any other, but that can be integrated with jqgrid, or dojo or any other js data grid. Filters are a more "complex" situation. Suppose I have a custom filter for tables (like number range or date range) when exporting data to xml I need that filter loaded so the filtering expression can be applied to data source. Best Regards, |
From martin.m...@gmail.com on July 20, 2011 09:45:57
Let me start with formatters. FormattersLet's take jqgrid and export to excel (done with http://www.codeplex.com/PHPExcel) as an example. Date formatter for jqgrid needs to modify column definition. Date formatter for excel needs to modify rendering of cell. Date formatter for html table needs to modify value.
Let's go even further, that the formatter should work not only on whole columns, but even on cells. There are multiple possibile implementations:
|
Original author: martin.m...@gmail.com (July 18, 2011 12:16:38)
if ( !$this->_deployNeedsData() ) {
$result = array();
$resultCount = 0;
} else {
$result = $this->getSource()->execute();
$resultCount = $this->getSource()->getTotalRecords();
}
** the $_willShow should be moved to Table
** willShow() should be moved to Table and renamed to getWillShow()
Bvb was designed from begin to be independent from deploy classes, unfortunately already from begin there are areas which are not independend (like formaters, mass actions, filters) and unfortunately we did not made any progress to solve this.
Original issue: http://code.google.com/p/zfdatagrid/issues/detail?id=725
The text was updated successfully, but these errors were encountered: