Questions tagged [pageblock]
The pageblock tag has no summary.
51 questions
0 votes
2 answers
371 views
Visualforce PageBlock in grid view
Is it possible to show a Visualforce PageBlock in a grid? I am looking to have 3 pageblocks horizontally on the page like below:
0 votes
1 answer
2k views
How to show/hide a visualforce component using the rendered attribute
I am trying the show the visualforce page with the pageblock section having id=table1 as hidden when it loads. When the user clicks the Execute button, then only the pageblock needs to be visible. I ...
0 votes
1 answer
207 views
Is there an elegant/easy way to set tab order on a VisualForce page?
My VF page has input sections for which I want each section to have the tab-key order to be set Top-Down as one can set for a page layout as below. Is there a way to do this other than setting the ...
2 votes
1 answer
553 views
CommandButton & pageBlock title ignoring slds styling
I have a Visualforce page using slds styling, and some of it works and some of it doesn't. The pageBlock title does not have the shaded area around it - just displays the text in bold The ...
0 votes
1 answer
784 views
How to display leads and contacts on visualforce page and provide edit ability
I have a form in visualforce page. Once user fills out that form and hits 'Get Information' button, on the backend I am running a SOQL query to fetch leads and contacts based on the information ...
0 votes
1 answer
729 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; } <...
0 votes
0 answers
2k views
Alternatives to PageBlock Visualforce in Lightning
I am using 2 pageBlocks in a visualforce page. One is rerendering other based on the selsctions. I want to convert the whole visualforce page into lightning but not getting the clear idea of how can I ...
0 votes
0 answers
618 views
How to display the block after clicking command button
<apex:outputPanel id="filterBlock"> <apex:pageBlock rendered="{!isLoadPage}"> <div style="width:35%;" id="maindiv"> <apex:pageblocksection > <apex:...
0 votes
0 answers
166 views
dynamic pageblockbuttons not showing on bottom location
i'm trying to show pageblock button in bottom side but its not showing on bottom only showing in top location how to set bottom Component.Apex.pageBlockButtons pbButtons = new Component.Apex....
0 votes
1 answer
391 views
Visualforce Checkbox Rerender via Ajax - Whats wrong with my code?
I want to disable the pageblock section when the checkbox is checked,enable it when the check box is unchecked. I had tried with rerender but it is not working as expected. Note:The checkbox is ...
1 vote
1 answer
964 views
Render section or display error message
I have a requirement where I want a section to render depending on a value of a controller variable. If the section is not rendered I want an error message to be displayed. I have the following piece ...
0 votes
1 answer
53 views
i am writing a wrapper class . error showing Entity is not api accessible
This is class public class Displayprods1 { public List<OpportunityLineItem> proList{get;set;} public list<wrapper1> wrp{get;set;} List<OpportunityLineItemwrapper> ...
3 votes
2 answers
5k views
html button inside Visualforce page generate a refresh on the page without any action connected to it
Situation I have a simlpe visualforce page, where inside a pageblocksection i have put a html Button. <apex:page controller="myTestPage" > <apex:form rendered="{!AND(NOT(isError))}" &...
5 votes
1 answer
4k views
Background color for Pageblock title
I have a visual force page which uses pageblock tag: <apex:pageblock title="Sample"> </apex:pageblock> I would like to make the background color of title="Sample" as green. How can I add ...
0 votes
0 answers
98 views
How to avoid page reload on standard Edit action?
I have two pageBlocksection and i put QuickSave action on first PageBlocksection and it's working fine and it's rerender the next pageBlocksection but Now, i want one button on Second pageBlocksection ...