22852 Posts in 9935 Topics by 2804 members
General questions about getting started with SilverStripe that don't fit in any of the categories above.
|Go to End|
25 January 2011 at 1:16am
When in Security, I'd like to be able to click on the table headers to sort the columns. Is this possible?
Also, can I set how many entries are displayed per page?
Thanks in advance!
25 January 2011 at 1:23am Last edited: 25 January 2011 1:23am
I'd say the same as here...
but with SecurityAdmin or MemberTableField or something
25 January 2011 at 1:58am
Thanks for your reply. I was looking into the setPageSize() function and it works if I put it in RootForm in /cms/code/SecurityAdmin.php. I'd rather not edit the core files.
25 January 2011 at 2:29am
you can add a decorator to apply it and keep it all in mysite
and I like your view - I did add it as a concern when I gave the advice previously...
25 January 2011 at 2:54am Last edited: 25 January 2011 2:54am
I've extended my Member class with some extraStatics with a DataObjectDecorator. Can I place the setPageSize() in there somewhere?
25 January 2011 at 3:24am
it's not Member to decorate, but in whatever Admin - like RootForm like you mentioned - RootForm Decorator (note I am not sure if it is possbile - I've decorated members, leftandmain, but not a form)
|Go to Top|