[Dojo-interest] How to make hyperlink in column of dojo Enhancedgrid?

Matthias Rimkus rimkus at atplan.de
Wed Jan 8 12:41:35 EST 2014


Use the cell’s "formatter"-property:

layout = [[
      {'name': "Card Number", 'field': 'cardNumber', 'width': '100px',
            'formatter': function( value ) {
                  return '<a href="#">' + value + '</a>';
            }
      },
      {'name': "Name", 'field': 'Name', 'width': '100px'}
]];



--------------------------------------------------------------------------------
ATplan Automatisierungstechnik GmbH, Sitz der Gesellschaft: Leverkusen, HRB 48898, Amtsgericht: Köln, USt-ID: DE 123 720 577
Geschäftsführer: Robert Frank, Joachim Klasen, Andreas Künzel, Werner Lamberty, Andreas Rabe, Hans-Joachim Rudolf, Bruno Wassong
--------------------------------------------------------------------------------





More information about the Dojo-interest mailing list