The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
18 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
21 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 ...
0
votes
1answer
47 views

Use Pageblock table instead table

I have problem as when I use talbe 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: ...
3
votes
1answer
161 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
35 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
127 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
305 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
22 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> ...
0
votes
3answers
141 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
120 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
69 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
121 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> ...
1
vote
2answers
617 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
49 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 ...
5
votes
1answer
2k 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: ...
1
vote
1answer
101 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 ...
1
vote
2answers
1k 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 ...
2
votes
1answer
1k 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 ...
2
votes
1answer
968 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
431 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> ...
3
votes
1answer
223 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 ...
3
votes
1answer
3k 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
1k 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 ...
4
votes
2answers
4k 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
194 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
3answers
1k 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
2k 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 ...
1
vote
1answer
764 views

Dynamic table in salesforce using HTML

I have a list of record in my controller. I want to display the record into my VF page but don't want to use salesorce components want to display the list into a HTML table 1 by 1. How to achieve ...
3
votes
2answers
3k views

How to merge cells in apex:panelGrid?

I do not want to resort to HTML. How to merge cells in <apex:panelGrid>? The below diagram shows column span merge using HTML tables. How to do both, column and row span merge, using ...
3
votes
2answers
390 views

Orderable columns

I am using a apex:pageBlockTable with apex:columns on VF page. Is there any tag I can ad to have sortable columns. Note: I would like the column sorting to be in - memory rather than hitting the ...
5
votes
2answers
941 views

Displaying more rows

I have a simple table for displaying users... <apex:page standardController="User" recordSetVar="Users" tabStyle="User"> <apex:pageBlock > <apex:pageBlockSection title="Today’s ...
0
votes
1answer
200 views

How do I apply anchor psuedo classes (a:hover, etc.) to element links in a data repeater

I do a table on my page with site.com. My table has 2 columns. I want can click on my data (so i want my data in columns will be a link). I do it. But now i want to customize my link. i can't do it. ...
2
votes
1answer
177 views

Refresh table on site.com page

I do a website with site.com. My page is doing like this : - a form for add a data for my object - a table with the data of my object. When I add a data with my form, it's necessary I do ...
1
vote
1answer
101 views

Logic to display table rows

I am display table rows in my email template... <tr> <td>{!relatedTo.opportunity__r.name}</td> <td>{!relatedTo.opportunity__r.stageName}</td> </tr> ...
0
votes
1answer
363 views

Adding order and a filter to data in a table in email template

In my email template, I am displaying entities in a association in table, doing the following: <table border="0"> <tr> <th>Opportunity</th><th>Digest ...