cancel
Showing results for 
Search instead for 
Did you mean: 

Datagrid Custom Control

jelena87
Champ in-the-making
Champ in-the-making
I am having some problems with the datagrid and I hope someone can lend me a hand.
I am trying to set a custom control on a datagrid but it does not seem to work. I was unable to find any example of a share configuration where the appearance of the datagrid was altered and am curious to know why the following configuration does not work.

                         <form id="datagrid">
            <field-visibility>
               <show id="cr:branch" />               
               <show id="cr:eventName" />
               <show id="cr:links" />
            </field-visibility>
            <appearance>
               <field id="cr:links">
                  <control template="/com/components/form/controls/linksfield.ftl" />
               </field>
            </appearance>
         </form>

I'd appreciate any help.
1 REPLY 1

lementree
Champ on-the-rise
Champ on-the-rise
Hi,

Datagrid uses data table, so custom controllers don't work in datagrid. If you want make any customizations you can use renderer in datagrid.js

Regards,