Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Set default action to select...


Go to End


2 Posts   1439 Views

Avatar
Howard

Community Member, 215 Posts

26 May 2010 at 5:04pm

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,
Howard

Avatar
UncleCheese

Forum Moderator, 4102 Posts

28 May 2010 at 2:20am

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.