-
Notifications
You must be signed in to change notification settings - Fork 323
Link Cell #41
Comments
Nope. There's no built-in cell type that does custom URL rendering. This is something best implemented by yourself as an end-user. However, if you are happy with your custom cell type and have it on a public repo, you are welcomed to put a link to it on Backgrid's repo wiki. |
@dandavison @timc3 I've decided to revert #90 and #88 because http://wyuenho.github.com/backgrid/#api-formatter |
@wyuenho That's fine, I understand. It was just a hack, creating an ad-hoc interface for one particular class. I'll try to think abut whether anything else could be done (e.g. documentation) to make this common task easier for the user. |
Ok great, no problem. |
sorry for reactivating an old issue, but would you mind taking a look at my implementation of this enhancement and let me know if I should issue a PR: https://github.com/morficus/backgrid/compare I believe that it's cleaner than the previously submited ones, and follows the same implementation patterns as the current UriCell (displayText is an optional configuration option vs being a function that needs to be over written) |
I was looking for a cell which can display a link with a different display label to the link URI.
Obviously there is a URI cell but given "http://santaclaus.com/rednose/" I would like to display "RedNose"
Does one of the existing cell types match this use case (I have already implemented a custom cell type like this)?
The text was updated successfully, but these errors were encountered: