Questions tagged [table]

The tag has no usage guidance.

32 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
2answers
1k views

How do I get the value of a row of HTML table in an aura iteration with onclick?

I am trying to make a functionality where my lightning component shows a table of records and I want to make it so if you click a records row, it autofills my form with that records information. Here ...
3
votes
0answers
662 views

Show/hide table rows

I'm trying to allow the toggling of table rows for a set of tables on a page: <apex:repeat var="dev" value="{!userList}"> <apex:pageBlockTable value="{!dev.projectMap}" var="project" ...
3
votes
0answers
157 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 ...
1
vote
1answer
65 views

columns in lightning aura table is not visible to certain profiles

The Columns Access Revoked and Tax Status are not visible in lightning aura table of a page because there are two issues in the code below: currentUserProfile (String) was compared in permissionMap ...
1
vote
0answers
155 views

Slds-Table data making the table overflowing the horizontal scroll

I have a html table with slds-table class. The table workds fine, as it had dynamic column width based on content The Scroll goes way too long like this-- I tried using slds-truncate with slds-...
1
vote
0answers
829 views

Fill a table with custom model

I am new to lightning experience and I am trying to write a table that is filled via a button, when you click the button it calls js which calls helper and that calls an apex class which takes an ...
1
vote
0answers
254 views

How to display table of html format on the detail page of an object using apex. I am not using vf page here. Only the controller apex class

Background: I am trying to reproduce the duplicate records message using apex. As duplication rules is not enabled for person accounts. when i am trying to insert a new person account, I am abe to get ...
1
vote
0answers
21 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
182 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 ...
0
votes
0answers
17 views

Get the selected value of custom lookup using query selector

I have implemented a html table in lwc and there I have a custom lookup as a column. Using JavaScript I have convert the table into array. I can able to all the input values except the value in custom ...
0
votes
1answer
28 views

Visualforce page at parent with table records from custom child

I have a parent custom object called Game__c and a child custom object called Player__c.). The child Player__c has 4 fields: Name(String), Phone__c(Number), isHealthy__c(boolean), and Game__c(lookup). ...
0
votes
0answers
10 views

How to retrieve INPUT value that belongs to an iteration table

This is the HTML code part that matters: <aura:iteration items="{!v.data2}" var="var" indexVar="index"> <tr id ="{!index}...
0
votes
0answers
18 views

Dependent picklist issue while adding dynamic rows in table LWC

I'm able to achieve dependent picklist functionality in LWC, I have this functionality in html table, onclick of button (Add rows) I'm adding rows dynamically in the table. As you can see in the ...
0
votes
1answer
11 views

I have a table in a lightning component and in the table body there's a column that's displaying Order Number which is a URL

I have a table in a lightning component and in the table body there's a column that's displaying Order Number which is a URL is it possible to add a functionality that when I mousehover in the Order ...
0
votes
0answers
41 views

How to display the following JSON deserialized to VF page

I have the following code. I would like to create a visualforce page like Please refer to the apex class code below: public with sharing class fromJSON{ public string companyName{get; set;} ...
0
votes
0answers
19 views

Table with expandable rows which contain another table using Visualforce

I'm trying to achieve exactly the same table. However i'm unable to add the inner table which appears on row click. As i wanted to achieve this using visualforce (No Aura), please let me know what i ...
0
votes
0answers
78 views

Get Drop down and Enter input freely in a single line - Lightning component

I have an input dropdown in a table shown below. Please check below code I used for this input dropdown. <td role="gridcell"> <div> <select class="selectEle" id="{!'...
0
votes
0answers
14 views

Table created using ClassWrapper - problem with saving changed values to database

I am having problems with saving to database values from table that I created using ClassWrapper. VF: <apex:form > <apex:pageBlock id="mainTable"> <apex:pageBlockTable ...
0
votes
1answer
20 views

Unravel table links

What are the relationship links (field names and any other tables used to link) between the four tables below: Account Opportunity Quote User Thanks you for any help
0
votes
1answer
219 views

Onchange picklist value not showing dependent picklist values

I am working on dependent picklist. I have a parent object on select Parent record in the first picklist I need to get all related child record in the 2nd picklist. This is working fine. But when I ...
0
votes
0answers
115 views

PDF Page break and Adding footer line

Hi please help me how to fix this <style type="text/css" media="print"> @page { margin-left: 1cm; margin-right: 1cm; margin-top: ...
0
votes
0answers
3k views

How to create the Dynamic table in Lightning component

I am new to Lightning, I wants to make this below table dynamic, So once the searchResult will be having respected data i can show it dynamically by using Iteration tag. Column name and Rows should be ...
0
votes
1answer
562 views

Set style of component.find(element)'s parent

This is in continuation of the question here I have included a select all checkbox in the header that sets the value of the checkboxes in the table. I am trying to highlight the selected rows. It ...
0
votes
1answer
156 views

Auto span tag inside td

I have problem with automatically added span tag in the td element. My code in visualforce page is following: <table class="table table-hover table-bordered"> <thead class="headerRow"> ...
0
votes
1answer
28 views

Apex:param not calling method

Hi I have requirement of producing a list in home layout with number is records available in different conditions and on pressing a button redirecting to the specific list view I came up with the ...
0
votes
1answer
626 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
621 views

table - style display none

I am trying to make a billing invoice with table. Using style display is great and working well. however, I would like to show whole column if there is at least one row isn't empty. so the second row ...
0
votes
1answer
118 views

Making table full width of email container on mobile

I am creating a responsive email with SFMC content builder. I want to place a button in the center of the email with a white background. The template content background color is purple and I have made ...
0
votes
0answers
95 views

VFP scrolls - Set Focus/landing on the last edited record instead of setting it to top record in the scrollable table

I have a scrollable table with some account records. Once any record is edited and save button is clicked/rerenders the focus auto scrolls to top of the Scrollable Table. I am trying to set the focus ...
0
votes
0answers
82 views

How to save table with all columns as pdf in visualforcepage?

I am trying to save table as pdf with all columns but it is only taking few columns in pdf, I also tried with different table width sizes but not getting, How to achieve this? Page 1 <apex:page ...
0
votes
1answer
3k views

Lightning OnClick Not Working Within aura:iteration

I've been unable to get onclick actions to work in my organization when the onclick element is within an html <aura:iteration> tag. The onclick action works when I put the <a> tag or <...
0
votes
1answer
74 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 ...