Ingo Schommer
0bc6bffa9b
BUGFIX Changed CSS class structure of GridField to avoid duplication of ".ss-gridfield" selector in different contexts, and make selectors less verbose (no more "fieldset.ss-gridfield"). Added "field" class to GridField container to ensure it displays correctly alongside other form fields (mainly around margins and paddings)
2012-02-23 23:29:58 +01:00
Ingo Schommer
abedf2a4a9
ENHANCEMENT Confirming deletion of records in GridField via JavaScript alert
2012-02-23 23:29:55 +01:00
Ingo Schommer
cbc2891c80
MINOR Metadata for GridField and Folder->getCMSFields() to allow opening folder references in the UI
2012-02-23 18:39:42 +01:00
Andrew O'Neil
b389138f50
MINOR Move gridfield actions HTML to templates
2012-02-22 16:19:45 +13:00
Ingo Schommer
5220a46fd0
ENHANCEMENT Inserting image via new dialog with ajax field retrieval and GridField file selection. Rewritten to jQuery.entwine and using the new HTML editor abstraction layer.
2012-02-14 13:53:35 +01:00
Ingo Schommer
c422e06b60
MINOR Removed GridField->requireDefaultCSS() idiom, not used elsewhere (or used for JS in the same class), should be handled through Requirements class instead
2012-02-14 13:53:32 +01:00
Ingo Schommer
3866f561f5
ENHANCEMENT Using GridField for file selection in "insert image" dialog
...
API CHANGE Combined HTMLEditorField_Toolbar->FlashForm() and ImageForm() into new MediaForm() to handle both file types
2012-02-14 13:30:52 +01:00
Ingo Schommer
1b42b2afa7
MINOR GridField JS API for updating state
2012-02-14 13:30:51 +01:00
Ingo Schommer
47ac047454
MINOR Setting existing GridState from client during request handling to allow altering it there
...
MINOR Parameter namespacing for GridState to avoid clashes with multiple GridField instances in same form
MINOR GridField->index() to render the field, unify with gridFieldAlterAction() to support state changes
2012-02-14 13:30:51 +01:00
Andrew O'Neil
38bce79fc6
FEATURE Add title component
2012-02-09 16:02:47 +13:00
Ingo Schommer
5a3242cab7
MINOR Allowing custom attributes on GridField, adding more CSS classes to support behaviour
2012-02-08 01:04:56 +01:00
Andrew O'Neil
df716eff45
ENHANCEMENT Allow multiple column providers for a single column
2012-02-08 11:21:34 +13:00
Ingo Schommer
a135b7c01d
MINOR Removed GridField->getDefaultConfig() in favour of new GridFieldConfig_Base class (and adjusted its components to remove the "edit" component, and add the "filter" component by default, to match the original getDefaultDefaultConfig())
2012-01-30 15:51:07 +01:00
Stig Lindqvist
c396c2d2ae
API CHANGE Security admin supports adding, removing and searching for members by relations via gridfield
...
This contains some experimental API's when using GridFieldPopupForms on GridFieldPopupForms.
- GridFieldRelationAdd
- GridFieldRelationDelete
2012-01-24 02:46:07 +01:00
Sam Minnee
c0d891cc0b
BUGFIX: Fixed GridField::getModelClass() not to access protected property.
2012-01-10 16:59:28 +13:00
Sam Minnee
489191b44f
BUGFIX: Fixed notice-level errors in GridField, exposed by test failures.
2012-01-10 16:39:12 +13:00
Sam Minnee
88f645ef59
Merge remote-tracking branch 'refs/remotes/scienceninjas/pull/gridfield-tests'
2012-01-10 16:02:06 +13:00
Russell Michell
e2661dfac1
MINOR: Fixes for IE<8
2012-01-10 13:05:20 +13:00
Sam Minnée
ce795b6d8a
Merge pull request #154 from silverstripe-scienceninjas/pull/gridfield-bugfixes
...
BUGFIX GridField_Actions did not work in more complex Forms with tabsets...
2012-01-08 21:52:35 -08:00
Sam Minnee
cb13299cf9
API CHANGE: Added GridField_URLHandler component interface.
2012-01-09 18:47:31 +13:00
Stig Lindqvist
39372497df
BUGFIX GridField_Actions did not work in more complex Forms with tabsets (i.e SecurityAdmin) when using GridField_Action
...
BUGFIX Empty GridState data causes isset error
BUGFIX Last field of GridFieldFilter outputs wrong label
2012-01-09 18:41:23 +13:00
Stig Lindqvist
3c516b7b97
API CHANGE: Refactored GridField modifiers into GridField_ColumnProvider, GridField_HTMLProvider, GridField_ActionProvider, and GridField_DataModifier interfaces, all added as components in the config.
...
API CHANGE: Simplified state handling so that it's just a key store. Affectors are replaced with GridField_ActionProviders. API CHANGE: Removed GridField state manipulation actions instead opting for GridField_ActionProvider actions.
API CHANGE: Removed support for modifiers that add "body" rows, instead having core support for generating the body rows hardcoded into the GridField.
API CHANGE: Allow modification of columns across the whole GridField with the GridField_ColumnProvider interface.
API CHANGE: Renamed GridField_AlterAction to GridField_Action, and added actionName/args parameters, since it can be used for all actions (including batch actions and row actions)
API CHANGE: Removed GridFieldRow class.
2012-01-09 13:30:34 +13:00
Stig Lindqvist
09bfe93c50
MINOR Updated the docblocks for GridField
2012-01-07 05:18:00 +01:00
Stig Lindqvist
ea4b9fe939
MINOR Added tests for GridField with minor changes to support them
...
MINOR Added docblocks
2012-01-07 04:59:34 +01:00