Conditional hyperlinkFormatString when loading a Grid.

Can we conditionally enable or disable hyperlinkFormatString when a grid loads, based on the records displayed on the grid?

Thanks and Regards.
1 person has
this question
+1
Reply
  • It is possible to use Data Controller Customization (DCC) to alter the controller at runtime based on an SQL query. Use the 'When-Sql' or 'When-Test' methods to check when to apply the customizations. See examples of DCC here: http://codeontime.com/blog/2015/03/charts-drag-drop-upload-signature

    However, a better method would be to create a calculated field that will either create a hyperlink element or simply show the original value depending on the calculation. Make sure to enable HTML formatting. See an example here: https://codeontime.com/learn/data-controllers/fields/data-format-string/html
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. indifferent, undecided, unconcerned happy, confident, thankful, excited kidding, amused, unsure, silly sad, anxious, confused, frustrated