Object Admin Custom list example

12 views
Skip to first unread message

AJ Mercer

unread,
Mar 13, 2014, 12:31:25 AM3/13/14
to farcr...@googlegroups.com
when adding custom columns to list,
can you control the order the column list where they will appear?
I would like to have them at the end of the current columns.



--

AJ Mercer
<webonix:net strength="Industrial" /> | <webonix:org community="Open" />
http://twitter.com/webonix

Justin Carter

unread,
Mar 13, 2014, 12:38:33 AM3/13/14
to farcr...@googlegroups.com
On Thu, Mar 13, 2014 at 3:31 PM, AJ Mercer <ajme...@gmail.com> wrote:
when adding custom columns to list,
can you control the order the column list where they will appear?
I would like to have them at the end of the current columns.
 
At the moment custom columns always appear first, it's on my todo list for FC7 to allow them in any position.

cheers,
Justin

Blair McKenzie

unread,
Mar 13, 2014, 1:02:02 AM3/13/14
to Unname
You can work around that restriction using aCustomColumns. objectadmin basically processes all column attributes by appending the ones that aren't in it. So you can control where they appear by passing the array in. I can't remember if you can add them as strings or if objectadmin expects a special struct.

Blair


--
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcr...@googlegroups.com
To unsubscribe, email: farcry-dev+...@googlegroups.com
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
---
You received this message because you are subscribed to the Google Groups "farcry-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to farcry-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jeff Coughlin

unread,
Mar 13, 2014, 1:04:42 AM3/13/14
to farcr...@googlegroups.com
Yeah, I tried to fix this a few years ago, but objectAdmin is a beast. After a few hours I was almost there and then the client who requested the customization changed their mind, so the fix was scrapped before I finished it.

Feel free to fix it yourself and submit the code to Daemon, but be warned - you will not come back the same man after digging through that code :)

(Yes I'm exaggerating, but it still is a beast :)

--
Jeff Coughlin

Blair McKenzie

unread,
Mar 13, 2014, 1:21:10 AM3/13/14
to Unname
you will not come back the same man after digging through that code :)

(Yes I'm exaggerating, but it still is a beast :)

No, no. That's fair. There's a good reason we've put off refactoring it for so long. Now that Justin has tackled the site tree in 7.0, we think we might be ready to take objectadmin on. 7.1 perhaps.

Blair


--

AJ Mercer

unread,
Mar 13, 2014, 1:32:28 AM3/13/14
to farcr...@googlegroups.com
I just put everything into aCustomColumns ;-)
Reply all
Reply to author
Forward
0 new messages