zilav Posted July 31, 2014 Share Posted July 31, 2014 I need a group header which is a domain name to be a link (or have a glyph with a link next to it), but grouping unigrid by a field containing link doesn't work because grouping field value is used in ID of div element and screws the whole grid. Another method after checking extjs docs is changing view.features[0].groupHeaderTpl.html template, but I can't figure out what exactly and in what client event to put. Can anyone please help with it? Link to comment Share on other sites More sharing options...
Sherzod Posted August 5, 2014 Share Posted August 5, 2014 Hi zilav. Maybe you'd like this? UniDBGrid1 -> ClientEvents -> ExtEvents -> ... function beforerender(sender, eOpts) { sender.view.features[0].groupHeaderTpl = "<a href='http://{name}' target='_blank'>{columnName}: {name}</a>" } Best regards. Link to comment Share on other sites More sharing options...
zilav Posted August 6, 2014 Author Share Posted August 6, 2014 I put it in beforereconfigure() since I already have it and it works too, thanks a lot Link to comment Share on other sites More sharing options...
Recommended Posts