The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
2answers
44 views

VF Page Formatting with Repeat values is not working for me

Need help with getting the formatting correct for this VF page. The complicated part is I am calling a VF Component withing the page and it is making the repeats not play nice. The goal is to get ...
2
votes
1answer
40 views

Pageblocktable to be rendered as table in PDF

I have a VF code below where I am trying to display the related list of an object using and command. I am rendering this page as PDF , doing that in my PDF I am unable to see the content in a ...
0
votes
1answer
34 views

Visualforce as PDF with table format [duplicate]

I have a some content in my visualforce page which I am rendering as a PDF. I am unable to display the content of my VF in tabular format. below is the code which I am trying to get as a PDF file: ...
0
votes
1answer
48 views

Tablesorter.js doesn't sort table as expected

I have implemented table sorting with the help of jquery tablesorter. Everything works fine, except that one of the row in one the column is not sorting properly. I tried all options mentioned in the ...
1
vote
1answer
101 views

<tr> and <td> tags within <apex:repeat> rendering above the table?

I am making a table that has within it to fill it with rows and fill the cells with information. I cannot use a pageBlockTable as I am using many sets of information that all need to go into the ...
1
vote
0answers
14 views

i can not hide a blockTable?

I have a problem , i want to show a block table on a click but it does not work ,i wrapped the block table within a div (contains the onclick event) <div onclick="afficherTache(this)" style="...
1
vote
0answers
31 views

How to make block Table collapsible?

I have a problem i want to create a simple collapsible blocktable, i followed this tutorial to do that in this tutorial, the expanding element expands and collapses inside an apex column and in my ...
1
vote
2answers
85 views

Using nested apex:repeat and pageBlockTable in a page

Well, I couldn't find a way to explain in a simple way my issue (thus the poor title). I am trying to build a page in which I have to separate some records using two fields on it. One of them is a ...
0
votes
1answer
70 views

How set table width dynamically based on list count

I am generating pdf and word documents. In that displaying the tables using html tags. columns will be different for each records. I want to set width of the column based list count. If list have 3 ...
3
votes
0answers
53 views

Table with independent rows

I need a table showing sObjects within independent rows. I need to perform actions on single rows without even taking care about all the other rows. Reason: Some rows might be invalid (having ...
0
votes
1answer
35 views

Table Breaking in Pdf format

I am rendering my page as a pdf but when the data gets larger my table's format is breaking. I want a closing line in each page of my pdf whether the data is large or going to next page. Can Someone ...
0
votes
2answers
150 views

account list as radio button options in VF page

I have the below VF page where I am trying to list the account and contact details as radio button options: <apex:page standardController="Account" recordSetVar="accounts"> <apex:form &...
1
vote
1answer
57 views

Need to remove unnecessary Space from PDF (Using VF page)

I need to remove unnecessary Space from PDF (PDF is generated by VF page), I don't know why and from where it should be displayed, Help me out from this issue. please have a look into the screenshot ...
1
vote
1answer
35 views

Adding new columns to Forecast Type don't apear in the page layout

When I add a new field to the forecast selected columns it doesn't seem to appear on the forecast layout. Does anyone know how to fix it ? most of the fields are from the opportunity tab. The ...
0
votes
1answer
83 views

Action support on html table

I have a simple html table. I want another table2 to be showed only when I mouse hover on that table1 row. How to use Action support. Please help below is my code, Can you please help me out with my ...
0
votes
0answers
20 views

Table rows need to display irrespective of data

I need to display the first 2 rows in the table irrespective of data. Example i have a list of contact data in which first 2 rows needs to be displayed even tough data is not present in the column. ...
-1
votes
1answer
36 views

how to update the lookup field default?

I have two custom objects with the fields mentioned below. 1.exam(master object) fields===name 2.task(detail object) fields==amount, emaidid, examname(look up for exam object) exam object have 2 ...
0
votes
2answers
697 views

how to display a table with dynamic columns in vf page based on the selection of picklist? [closed]

My picklist values: model,version model,version,option model,version,option,discount If I choose "model,version" the table displayed with 2 columns like model,version. If I choose "model,version,...
1
vote
1answer
289 views

how to edit a record? [closed]

I have created a table with edit option.Whenever clicking the particular row edit link the whole table rows enabled to edited. but i want to edit a particular row. apex public class ...
2
votes
3answers
270 views

Replicating Standard tabs in Visualforce Page

I have come up against a wall and I am hoping my options are not as bleak as they seem... I am trying to create a simply list view on a visualforce page. I am not requiring assistance with any coding ...
5
votes
2answers
699 views

How to add page breaks to visual force page rendered as pdf so that a dynamically rendered list in apex repeat tag does not strech the table lines

I have created a VF page rendered as pdf for QuoteLineItems in which I have added the list inside <apex:repeat> tags inside a html table row which again is inside another table.The problem ...
2
votes
2answers
208 views

ReRender, Actionsupport, and a Wrapper List

I am displaying a list of wrappers on a Visualforce search page using the table html tag and apex:repeat. The wrapper is an easy way to work with a list of PriceBookEntries and other attributes like ...
2
votes
1answer
438 views

apex:outputPanel condition for apex:repeat won't render table properly

I'm working on creating PDF Purchase order page in VisaulForce. I get stuck when rendering Purchase order line items, which are related items to Purchase order. All worked great until I put a ...
1
vote
1answer
684 views

Bootstrap table sorting not working for inputfield

I have used a Bootstrap datatable to show records in a tabular format as shown below And here is the simple code for the above page <style> input[type="text"] { display: ...
0
votes
1answer
33 views

user defined sorting in pageblocktable

I have a picklist field "target", the values are "primary","secondary","tertiary" and "optional". We have only one "primary","secondary" and "tertiary" records but many "optional" records. The table ...
2
votes
1answer
392 views

Use Pageblock table instead table

I have problem as when I use table in my code then I am not getting good look and feel in my Visualforce. How can I set pageblock table in my Visualforce page code. Visualforce Page code: <apex:...
3
votes
1answer
235 views

move TD to new TR

I am trying to create this output in Salesforce: <table> <tr> <td>test</td> <td>test</td> <tr> <tr> <td>test</td> <...
1
vote
1answer
95 views

How to select one field from one table in apex class?

I have an apex class with some code like this: public List<Product2> myList{ get{ myList = [Select p.url__c, p.ProductCode, p.Nom_du_produit_2__c, p.Description From Product2 p ...
2
votes
1answer
640 views

Dragging and reordering dataTable/ pageBlockTable rows

I have a dataTable which is populated by the a list of Sobject. I need to be able to drag the rows of the table and reorder them. I have a HTMl table code snippet which does this using jQuery. <...
4
votes
1answer
851 views

How to make a “join” between two tables?

I have a table Product2, witch contain products. I have a table PricebookEntry, witch contain price for products. How can i make a request for someting like : SELECT Id, desriprtion, title, [...] ...
0
votes
1answer
133 views

Is it possible to feed a VisualForce Table's var to a JavaScript as a parameter?

Let's say my VisualForce has a table like: <apex:pageBlockTable value="{!someObjectList}" var="someObject"> <apex:outputText value="someObject.id" /> </apex:pageBlockTable> (...
1
vote
3answers
481 views

Fixed Row Header and Column Headers in a vf page table

I have built a table in vf page. I want the first two rows of the header and first two columns of the header to be fixed. Can anyone help me with this? With CSS or jQuery plugin.
1
vote
1answer
237 views

Limit number of tables displayed in one page (When using Apex:Repeat), when redering as pdf to avoid page/table breaks

I have the following VF page, but when I render it as pdf the Apex:repeat tables break in the middle to the next page. I'm thinking of limiting the tables displayed in each page to avoid table breaks. ...
1
vote
1answer
157 views

Nested repeats + table + if + pdf = frustration

I have a table on a VF page that allows the users to filter, sort and choose which columns are visible. I accomplish the column visibility by using javascript to change the style to display:none. ...
1
vote
1answer
1k views

Adding bold style to outputText seems not to work

I'm using a custom table that replicates the design of a pageblockTable. Using th will output the text in a bold style. Code Snippet: <table id="pageblockTable"> <thead> <tr> ...
4
votes
2answers
3k 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 ...
1
vote
2answers
68 views

How to prevent refreshes from blowing out sobjects and tables

I have created an sobject the essentially manages a callback URL to app servers we have running in-house: http://devmyapp01.example.com http://qamyapp01.example.com http://myapp01.example.com ...
9
votes
4answers
7k views

Apex:OutputText to Currency Format from String Wrapper

is there a way to pass a string to the <apex:outputText> so that it can be formatted as a currency or percent value? Here's what I have inside a column of my visual force table: <apex:...
1
vote
1answer
302 views

How to ensure that all of the cell content shows in an Excel contenttype page

I am exporting a page as Excel page as described here (using contenttype). I am unsure how to ensure that the contents of the cells are showing. After opening the file, I could change it manually, by ...
2
votes
2answers
3k views

Can I change the color of a VF table cell dynamically?

I have a picklist called Status, displayed in a Visualforce table with fields like .. Closed Open Critical <div id="col1"> <apex:column > <apex:facet name="header">...
2
votes
1answer
2k views

Using PageBlockTable inside other PageBlockTable

I am trying to build a PageBlockTable inside another PageBlockTable, so I can add the master data in the master table and each row will has a detailed table. So I am thinking of this <apex:...
2
votes
1answer
2k views

Create one table of multiple object types

I am looking to create a table, for instance pageBlockTable, with entries from multiple object types. The various objects share some fields, and also have unique fields. The table should display a set ...
2
votes
1answer
633 views

Highlight row on selected ( apex repeat )

I need to highlight the row on click of anchor link. <apex:repeat value="{!Requests}" var="request"> <tr> <td>&...
3
votes
1answer
416 views

Highlight a cell with a color when an image within the cell is clicked in a data table

I have a VF page with a datatable in which an image or a flag is placed in a cell for identification. when the flag or image is clicked using mouse event, the particular cell's background color which ...
4
votes
1answer
4k views

Get the id of the row that was clicked on

I've made another question since I couldn't find an affordable solution to my other post (Inline ajax edit of pageBlockTable columns). So what I'm looking now, and it's my only problem, is how I can ...
4
votes
1answer
2k views

visualforce, adding new products to a table on same page

I'm trying to do one thing for my application, I already did object Products. Added fields, manipulated with object... Next I overrode the Products page with a VisualForce custom page, that uses ...
5
votes
3answers
6k views

How to draw a checkbox in <apex:column> headerValue attribute

I have a controller class which has a list of Wrapper object like 'SchoolWrapper'. This school wrapper class has a instance of Object 'school' and one boolean variable. Now i am using tag to iterate ...
1
vote
4answers
263 views

Sorting conflict between SOQL query and JavaScript in Visulaforce page

I have a visualforce page that I want to sort its columns by a datetime field which I do in the SOQL query via the controller using the ORDER by myDateTime__c DESC. However I also need to use ...
4
votes
2answers
2k views

alternating row colors in a VF table rendered as PDF

I need to alternate row colors in a particular way: The headers is in one color (let's say yellow). The first, second row (which is actually splitted in two rows at some point) and the third row is ...
5
votes
2answers
3k views

Display records on next row in table

Hi i want to display a list in table in following way.. rec1 rec2 rec3 rec4 rec5 rec6 rec7 rec8 rec9 rec19 rec11 rec12 Where the records are displayed on the next row when a ...