Custom button inside Section Head

Hello All,

This time I want to add a custom button in the section head field through custom script.

My scenario is, on my doctype, I have a section head which is collapsable after a click on that section head there will be few buttons(button fields) and when I click on any button there will be again a group of few buttons.

Any help …?


Did you manage?

Yes i did it but not by doctype button field.

I am rendering html (for buttons) while clicking the section head.