Jump to:

7940 Posts in 1543 Topics by 946 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Set default action to select...

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 967 Views
  • Howard
    Community Member
    215 Posts

    Set default action to select... Link to this post

    Hi UncleCheese,

    Sorry if this has been answered elsewhere in this forum but I couldn't find it. I wondered if it's built into the module the ability to have the default action when clicking on a dataobject in a hasOneDataObjectManager to be selecting that as the associated object not editing it. This means that the user doesn't have to click the small radio button.

    Cheers for any help,

  • UncleCheese
    4085 Posts

    Re: Set default action to select... Link to this post

    No, not supported. I honestly can't think of any way to do that cleanly. I had so many opinions on what should happen when a user just clicks a record in the table, so I made it somewhat configurable -- that is, the first "action" in the row is executed. The radios are not actions, however.. they're something entirely different.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.