function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Need the syntax to use jquery to remove the link from the output field which is in the pageblocktable. Pls post it. Need it urgently
Would it be okay in your case to use an "apex:outputText" in place of "apex:outputField". If removal of link is the only concern, that should work for you!
As i want this field while creating new records, i'm not able to use output text, as i have to use list.field__r.name bcoz it is the lookup field.
Can you please share your page code here?
<apex:pageblocktable>
<apex:column headerValue="test" style="width:140px;text-align:center;" headerClass="centertext" id="testName"> <apex:outputfield value="{!list.obj.field__c}" style="width:180px;" > </apex:outputfield> </apex:column></apex:pageblocktable>
I am not sure why can't you use outputText here.
Anyway try this:
<apex:outputfield value="{!list.obj.field__c}" style="width:180px; text-decoration: none;" >
hi this text-decoration is not working.. if i'm using output text, then in that table only id is displaying... so suggest how to overcome
Oh, you meant that.
In reference fields, you have to explicitly specify the reference field you want to display in outputtext.
Try this :
<apex:outputfield value="{!list.obj.field__r.Name}" style="width:180px" >
ho, i used that only.. but it is showing error as attempt to de-reference a null object
Would it be okay in your case to use an "apex:outputText" in place of "apex:outputField". If removal of link is the only concern, that should work for you!
As i want this field while creating new records, i'm not able to use output text, as i have to use list.field__r.name bcoz it is the lookup field.
Can you please share your page code here?
<apex:pageblocktable>
<apex:column headerValue="test" style="width:140px;text-align:center;" headerClass="centertext" id="testName">
<apex:outputfield value="{!list.obj.field__c}" style="width:180px;" >
</apex:outputfield>
</apex:column></apex:pageblocktable>
I am not sure why can't you use outputText here.
Anyway try this:
<apex:outputfield value="{!list.obj.field__c}" style="width:180px; text-decoration: none;" >
hi this text-decoration is not working.. if i'm using output text, then in that table only id is displaying... so suggest how to overcome
Oh, you meant that.
In reference fields, you have to explicitly specify the reference field you want to display in outputtext.
Try this :
<apex:outputfield value="{!list.obj.field__r.Name}" style="width:180px" >
ho, i used that only.. but it is showing error as attempt to de-reference a null object