Hi all,
One of our table column controls has the Display Only option grayed out. Also, setting the property from code has no effect. What could be the reason for this? The only explanation I can come up with is that the actual database column is a computed column (identity).
Screenshot to further illustrate my question: http://eddekker.nl/eBase/eBase_FLDCOL.png
Any help is greatly appreciated.
Edwin
'Display Only' grayed out in table column control properties
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 8
- Joined: Tue Jun 04, 2013 8:13 am
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
-
- Ebase User
- Posts: 8
- Joined: Tue Jun 04, 2013 8:13 am
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
-
- Ebase User
- Posts: 8
- Joined: Tue Jun 04, 2013 8:13 am
It's an internal link. I really wish there was a way to temporarily disable them.Jon wrote:If it's an external hyperlink, you can disable it but removing the href i.e.
controls.HYPERLINK1.setHref(null);
If it's internal, it will be harder. There are various jquery techniques - the best seems to be replacing the hyperlink with text.
Thanks again for your help!
Ed
0 x
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
Edwin,
You can "disable" an internal hyperlink with some jQuery Javascript like this. It replaces the link with the hyperlink's text.
In this example, I have a hyperlink control which has an id of "hlink" assigned in HTML element properties. Then to disable it, add the code above to the appropriate event handler e.g. click, also using HTML element properties.
Regards
Jon
You can "disable" an internal hyperlink with some jQuery Javascript like this. It replaces the link with the hyperlink's text.
Code: Select all
$('#hlink').each(function () {
$(this).replaceWith($(this).text());
});
Regards
Jon
0 x
Who is online
Users browsing this forum: No registered users and 22 guests