Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [pageblocksection]

An area of a page that uses styling similar to the appearance of a Salesforce detail page, but without any default content.

Filter by
Sorted by
Tagged with
0
votes
1answer
31 views

PageBlock Field Alignment

One of my fields below won't align to a PageBlockSection. What am I doing wrong here? <apex:pageBlockSection title="Advertiser" collapsible="true" columns="1" id="advertiser"> ...
0
votes
1answer
37 views

Page Block section is disturbing the table structure

I have a Visualforce page, which is showing table. <apex:page controller="TestControllerForIssue"> <style type="text/css"> .myClass { width: 50px; } </style> <...
0
votes
2answers
62 views

Dynamically set columns on pageBlocksection and pageBlockSectionItem?

Page : <apex:page id="ContactDetails" extensions="ContactsController" standardController="Case"> <script> function showFieldsOnClickAction() { showFieldsAction();...
0
votes
1answer
22 views

How to make the target of an output link be displayed next to the pageblocktable?

So I'm having an issue trying to display the contacts of accounts next to the pageblocktable. The functionality I want to occur is that once an account is clicked to display the contacts for that ...
0
votes
0answers
15 views

How can i put Read only once i save child object record Row from related list of parent object on visualforce page

I want to put read only once i save opportunity record dynamically from a related list of Account object on visualforce page. I have created a VF page in which I have used page block table. And when ...
1
vote
1answer
59 views

How to redirect to a record page?

I have a custom VF page in a section in the Lead layout. The page is showing a table with specific information. When I clink on the link I expected to see an account record page. The link is not a ...
0
votes
1answer
39 views

InputField Conditional Font Styling

I have a requirement to conditionally style the font for a single inputfield based on the User's profile, however, below statement does not appear to be rendering properly. Is this possible using ...
0
votes
1answer
173 views

VF page with dynamically generated HTML code?

I have a custom VF page which is added to a section in the page layout of an object. What I'd like to achieve is to add dynamically generated HTML code to my custom VF page. The HTML is dynamically ...
0
votes
0answers
96 views

How to create a custom VF page with dynamically generated HTML code?

I'm using a custom rich text field. The rich text field is created in a standard object. In the rich text field there is a dynamically generated HTML code via apex. Here is what the rich text field ...
0
votes
1answer
27 views

How to empty a pageblock section?

I have this page block section code: <apex:pageBlockSection id="contactData" columns="2" collapsible="true" > <apex:outputText label="First Name" value="{!p.FirstName}" id="...
0
votes
1answer
53 views

Grid in vf page

Hi i want grid behavior in vf; below is the code i am using, but strange behavior is that my tooltip is missing and also label; for that i have used outputlabel anyways. How to render tootltip? I have ...
0
votes
1answer
429 views

How to group fields in a visualforce table

I have a visualforce page that shows cohorts and the contacts enrolled in the cohort. I am looking for ways to group the contacts with an but can't figure out how to do it. If anyone could explain to ...
0
votes
1answer
209 views

Does reRender of apex:PageBlockSection invoke the constructor?

I have a visualforce page which calls a controller method via actionFunction. When I reRender the pageBlockSection, the variable values get reset. There is no method that resets the variable values. ...
1
vote
2answers
699 views

How do I add a blank space in the pageblock title section

I have tried .pbTitle { white-space: nowrap; } and &nbsp; These are not working see my example what I want to achieve: <apex:pageBlockSection id="section1" title="...
0
votes
1answer
403 views

Help text is not displayed for outputfield

I have a component in which i am using outputfield to display fields. The help text is not displayed. In the same component i have inputfield and the help text is displayed fine. what could be the ...
1
vote
1answer
1k views

apex:outputLabel : Not able to display on top of inputField

This is the code for page block section: <apex:pageBlockSection title="Search Territory Accounts" collapsible="false"> <apex:panelGrid columns="4"> <apex:inputField value="{...
0
votes
1answer
60 views

Unable to bind custom object on to pageblock on rerendering of VF page

Am trying to write a VF page which has details of the custom object and their related lists in tabular format. My code for it goes as below. Visualforce Page: <apex:page controller="Report" ...
0
votes
1answer
438 views

Rerender Pageblocksection with a rich text field

I have requirement to rerender a pageblock section when I click the "Add Note" button. But the challenge here is I am unable to rerender the rich text field <apex:inputField value="{!rec....
2
votes
1answer
205 views

Need help in rendering pageblocksection depending on record type name

I am overriding the New Button on My custom object which is having different record types. I need to display different sections based on their record type. Right now I am rendering pageblock sections ...
0
votes
1answer
94 views

Visualforce rendering woes - layout is broken when using a parent <apex:outputPanel>

I have a formatting issue caused by an extra output panel needed for rerendering on my visualforce page. The functionality works they way I have it now, but the formatting is ugly and I want to be ...
1
vote
0answers
406 views

Repeat pageblocksection on commandbutton click

I have a visualforce page and i'm going to add multiple Product into my custom object but where i am stuck is i am not able to set <apex:repeat> to my pageblocksection I just want to repeat the ...
0
votes
1answer
372 views

Adding section on button in visualforce [closed]

I have 3 same sections in visualforce page. Users will have 3 of this section minimal to fill out. But what i want to make is button on which i will add new section, same as others. Because user may ...
1
vote
1answer
84 views

how to show custom buttons on vf block sections

i have created a vf page which requires a custom button formatting i want to show buttons "go" and "send payslip" exactly bottom of those two picklists. Here is my vf- <!--------------------------...
0
votes
1answer
196 views

Rerender an apex:pageBlockSection from an apex:actionFunction

i have a javascript function that must delete an item from a cart and it's work well, i have a command button in which there is a render already and i want that my javascript function reREnder a ...
1
vote
1answer
45 views

InputFields don't appear on some parts of the page, even though they do elsewhere

I have a visualforce page which has a couple page block sections (under pageblock > form), and is meant to have inputs within those sections. For some reason, the input fields will appear in the first ...
3
votes
1answer
91 views

How to detect showListButton/hideListButton being clicked on collapsible PageBlockSection?

I'll go through it in text, but here is a short video detailing my problem: video Hi, in this sample code I have collapsible PageBlockSections which are collapsed by default. Currently, when a ...
1
vote
3answers
29 views

visual force pages insufficent privileges

I programmed a VF page and I put it inside a section of a custom object. Now when a user open one record and doesn't have the privileges to see the VF section, the system shows this page inside the ...
0
votes
2answers
37 views

SObject row was retrieved via SOQL without querying the requested field: Lead.OwnerId Error is in expression '{!save}' heating error

public with sharing class emailcomponents{ public lead ids{set;get;} public Decimal score1=20; public Decimal customerscore=0; public Decimal vendorscore=0; public emailcomponents(...
1
vote
2answers
66 views

question on using pageblocksection

A part of VF page is below: <apex:pageBlockSection title="EVALUATION"> <apex:pageblockTable value="{!interviewSkillReviews}" var="skillreview"> <apex:column headerValue="...
0
votes
1answer
61 views

how to edit the record in another pageblocktable of the the same vf page using custom controller

my problem is ...after saving,the record is not getting in Pageblock 2.how to get the record automatically after save the record <apex:page Controller="siteportal" showHeader="false" id="pageId"&...
0
votes
1answer
374 views

Alignment issue pageBlockSection

I want to have this appearance in a visual force page but the issue is i have used css styles over the pageblocksection but no result, it seems that when we are using more than 4 columns in a ...
1
vote
1answer
512 views

Skip column in PageBlockSection

So I have too much padding between fields within a PageBlockSection. I have 3 columns, so to reduce the padding between fields I created 4 columns. How can I skip a column to force the next ...
1
vote
1answer
286 views

Visualforce pageBlockSection Column/Header Limitation

I am recreating a form made in Excel over in Salesforce. I have run into a speed bump with VF pageBlockSection. VF page as it looks now: Goal: How do I change columns within a pageBlockSection ...
0
votes
1answer
920 views

Customize the page block buttons in visualforce page

I am developing an edit page for my company and i have a problem with the page buttons. Is it possible to put them in a random position not just the one offered with the location="top/bottom/both". ...
1
vote
2answers
10k views

Visualforce: How to center a single pageBlockSection column?

I need a single column of fields centered in a pageBlockSection. I easily found the "columns" attribute and set the value to "1". When I did, it still aligns the fields to the left with enough room ...
0
votes
1answer
453 views

Hide pageblock based on field value

I'm new to this so please try to be extra patient with me :) Trying to display an message in the Account layout based on the Account name field. So what I've got working so far is the error message. ...
0
votes
1answer
295 views

Stop apex from displaying label in apex:pageblocksection

Can we stop apex from outputting labels for apex:outputText within a pageblocksection? I have a html table on which I only want to input text field, i.e. without any labels. But the rendered code is ...
0
votes
1answer
307 views

Adding custom component interspersed within related lists on standard detail page

Is there a way to add a complete new section "Related list" to an opportunity. and then have check box field with a search users option and assigning date. do I need to create this in apex , or can ...
2
votes
1answer
117 views

How override view on custom tab?

I want to make report section for view in custom tab. I d'nt understand how override view. There is visual page for this but i can't use View filter for my tab. For example, there are 2 views: sales,...
0
votes
1answer
648 views

Hide/unhide sections based on the Account type pick list

I am new to Salesforce and came up with a problem regarding the account page layout On the account detail we have the account type based on : client, supplier and customer. When it comes for the ...
1
vote
1answer
94 views

Collapse a pageblock section when another pageblock section collapsed

can someone let me know how to manage this? Collapse a pageblock section when another pageblock section collapsed?
3
votes
1answer
724 views

showOnEdit within commandButton not working when PageBlock section starts with rendered=false

On my visualforce page I have a pageblocksection that starts off hidden, this pageblock is shown when the user selects a value from a picklist. This feature works, but breaks the 'showOnEdit' ...
1
vote
1answer
577 views

Need help on multilevel nested table

I am trying to display 2 level deep relation from parent to grandchild. Parent is order, child is order lines and grandchild is shipment lines. Order-->Orderlines-->Shipmentlines I am able to ...
2
votes
1answer
2k views

Title for each records in pageblocktable

Header for each record in pageblocktable? For now pageblocksection create a collapsible header above the pageblocktable. <apex:pageblocksection title="Order Lines" collapsible="true"> ...
1
vote
1answer
12k views

column width for pageBlockSection

So I am using a pageBlockSection with two columns to display some details for particular SObjects. The first column would hold a label and the second column would hold the value for that particular ...
5
votes
2answers
6k views

Nested table using pageblock

So I want to add a nested table for another table. I'm able to add table 2 as nested for table 1. I could do this by adding a pageblocktable table 2 inside the last column of the pageblocktable of ...
7
votes
1answer
7k views

<apex:pageBlockSectionItem> may have no more than 2 child components.

After doing some changes to the view by adding apex:pageblocksection and apex:pageblocksectionitem i am getting the error as given below. Am i doing anything wrong here? Any suggestions please. <...
2
votes
1answer
165 views

Proper “placeholder” in pageBlockSectionItems and PanelGrids

Unsure of how to ask that really but on my page I have some pageBlockSectionItems with labels and some pageBlockSectionItems without. The ones without the labels have the data side shifted to the left ...
6
votes
1answer
4k views

Scrollbar for pageBlockSection column1 but not for column 2

I have a pageBlockSection that has 2 columns. I would like 1 scrollbar for the left column so that if the information on the left column is very large then you can scroll through it without changing ...
2
votes
2answers
232 views

multiple children in BlockSectionItem

I have a pageBlockSection where I would like to show an image next to a String on a single line. However there are four different strings and 2 different images that I can use based on the current ...