How to create custom field type?

Discuss about Group-Office development here

Moderator: Developers

Posts: 2
Joined: Sat Aug 02, 2014 10:19 am

How to create custom field type?

Postby ulandj » Sat Aug 02, 2014 10:29 am

Hello, everybody!

I have problem with creating custom field type in customfields. I want to create field type with built-in Extjs tree, ofcourse data of the tree get in the database.

How to realize it? Help me, please!
Posts: 66
Joined: Fri Jun 21, 2013 2:55 pm

Re: How to create custom field type?

Postby richarddodd » Tue Aug 05, 2014 2:11 pm

This is probably pretty tricky.

As a hint: it's going to be similar to combo custom field, but with something like parent_id to get the tree structure. In the front-end, you'll probably need to use something like context menus for building the tree (or maybe an 'add node' button etc). I've done some cool stuff with the Extjs3 tree before, so I'm sure what you want is doable. Also, you'll have to think about how you want to represent the data in for example the grid.

Who is online

Users browsing this forum: Bing [Bot] and 3 guests