I edited a SS3 screenshot to explain what i would like to see in the
datagrid.
2 kinds of custom actions and an idea how to display the edit form.
http://www.tiikoni.com/tis/view/?id=8ba4fab
Regards,
lx
2) Columns
3) Filters
4) Actions
--
You received this message because you are subscribed to the Google Groups
"SilverStripe Core Development" group.
To post to this group, send email to silverst...@googlegroups.com.
To unsubscribe from this group, send email to
silverstripe-d...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/silverstripe-dev?hl=en.
To be honest, i checked the DOM in an early version and had some problems to
get it running properly. I also noticed, that the editing form is always in
a popup and the tinyMCE isnt available. So thats why i decided not to use
the DOM.
Maybe i should have given him a second chance. :)
Anyway, i just noticed a shortcoming in ModelAdmin, which could be improved
in DataGrid. ModelAdmin can export your data to csv by default. But the
fields are always the same that are defined as columns in CMS. Both are
defined with $summary_fields. But it should be possible to export more or
different fields. (maybe a $export_summary_fields).
another thing that just poped in my head.
There should be an easy to access JS API on the DataGrid providing
things like "reload the datagrid", "sort it by column 2", "only
display entries with has one CategoryID = 42" and so on
Also, it should be possible to send some info to the form that is used
to create a new Entry, so far I had to subclass DataObjectManager and
overwrite the addLink() function to add some params to the link which
I then accessed in the getCMSFields of the new Entry
use cases:
Page to manage Things and Categories
1 DataGrid manages Categories
In another tab there is another DataGrid to manage Things, above that
DataGrid is a Dropdown to select a Category.
JS onChange of that Dropdown, I want to tell the DataGrid to filter
now.
When I click add on that DataGrid, I want that the Category ID is
passed to the CreateForm so I can automaticly put the new Thing in the
correct group.
+1
it would be great to expand this to allow inline editting of all
fields on a "page", not just a single row
also I override the "page size" to allow more data to be seen, but
this would be very useful to have in the "search" fields
this would then mean it was close to... spreadsheet data editting!
it may not sound very exciting but I also use the ModelAdmin as a
conerstone and I have 80% of Zauberfisch points coverd but the area of
having a large amount of updates to perform across relating rows is
terrible.
simple spreadsheet (http://www.simple-groupware.de/demo/
simple_spreadsheet/spreadsheet.php?lang=en) has been added into a
leftandmain with things like show dataobjectset and then save the
results - is still is far from ideal and very hacky.
Excel, like it or not, is the most common database format out there
and everyone is used to creating something in excel so as close to
this as possible would be ideal, especially the import that takes a
delimted file, allows you to map the fields to columns (now I am
switching to access data import) would be amazing. This would provide
a more secure replacement for the csv import that either works or
doesn't and is hard to provide feedback about multiple impost errors.
lastly a "context menu" might work well for providing the individual
record operations (instead of using up space with more and more
operations) a single item that popups up a menu of indiviual
operations, for eaxmple this would be a great default option - print
http://www.silverstripe.org/customising-the-cms/show/18565