We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [table]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
83 views

How to fetch input field value in JS in LWC [closed]

in the below html code I am iterating 2 lists linItemData(11 records) and studyData(20 records) <table class="slds-table slds-table_cell-buffer slds-table_bordered"> <thead> ...
0
votes
1answer
45 views

How to implement Horizontal Scroll on HTML Table in Salesforce Mobile App?

I am in process of implementing a native old HTML table (<table> ... </table>) in a Lightning Aura Component which will be rendered in native Salesforce Mobile App (historically known as ...
0
votes
1answer
28 views

Dynamic rows in lightning component throwing error

I'm trying to create a lightning component that will add and delete rows. I followed a tutorial available online and here is my code. Component: <aura:component controller="testCntrlr"> &...
1
vote
1answer
45 views

displaying the lightning data in CSV file proper format [closed]

i am downloading the lightning data in CSV file as per the below screenshot Now the issue is whenever i am trying to expand the Name column,the data is getting restricted to the name column only....
0
votes
1answer
16 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
1answer
32 views

jQuery append not working on custom lightning component

I have a custom component that sets a table header and body dynamically with jQuery append but it's not working. I have loaded my scripts into .cmp and it's working cause I start my onInit controller ...
-2
votes
1answer
39 views

SObject row was retrieved via SOQL without querying the requested field: Webinar_Attendees__c.Voucher_Assign_Date__c

'm trying display parent fields and sub query fields in a table.But I'm unable to display sub query fields.Could anyone suggest an idea for me Page : ====== ...
0
votes
0answers
24 views

Einstein analytics: operation between 2 datasets, where there is no common field

I am trying to do a simple operation in Analytics that is to get dataset1 when group by a category (User Name) and divide this by a total amount of a dataset 2, 5500000 I am not familiar with SAQL, ...
1
vote
2answers
49 views

How to separate Visualforce table by a value?

I'm trying to separate my Visualforce table by Hummer's Id value: public List<Hammer__c> getHummers() { return [SELECT Id, Name FROM Hammer__c]; } public List<Factory__c> ...
1
vote
1answer
73 views

Is there anyway to combine StandardSetController and List [closed]

I need to be able to edit and save records in a pagination. Right now I can get the pagination to work if i have apex:pageBlockTable value="{!Accounts}" but then i can't refresh the page with a ...
0
votes
0answers
26 views

How to repeat the header of a table in visualforce renderas pdf on a table with more table nested?

HI i have a situation that can be represented with the follow example : <table style="-fs-table-paginate:paginate"> <thead> <tr> <td>&...
1
vote
1answer
45 views

On click of button another method is called before the actual method is called [closed]

Im new to salesforce. I have just started with apex and Vf. I have built one vf where on page load it fetches account list and displays it in table. Before displaying it in table it calls another ...
0
votes
1answer
35 views

Unable to avoid the page breaking of a list in visualforce PDF

I have to do a visualforce that render a list of list of quotelineitem, that can be spited on more page cause the visualforce is seted to renderAs="pdf". To reach my goal i decide to use an apex ...
1
vote
1answer
205 views

Multi level lightning table with LWC [closed]

Is it possible to create the same table as below (screen was taken from vf page) with lightning-tree-grid in Lightning Web Component? I tried to do that, but it seems there is no possibility to add ...
0
votes
1answer
29 views

Visualforce page - not pulling values from related object and not showing table style

I have the following objects: Object: A Picklist: I Field: 1 Field: 2 Field: 3 Object: B (This is where I want the visualforce page (table) Current visualforce page that works in Object B: <...
0
votes
0answers
90 views

Need to remove spacing between columns

I need to remove extra spaces between columns, I tried and cellspacing and padding, however it didn't work. this is my code <!--List Table--> <table class="slds-table slds-table--...
0
votes
0answers
81 views

Cannot paste table into lightning-input-rich-text

I have a lightning-input-rich-text inside of a wrapper lwc(so that i can use it inside of a Aura cmp) and when we try to copy over a table, it comes over in the form of a paragraph. Here is the code: ...
0
votes
0answers
154 views

lightning component with the inline edit and add/delete rows option

I have 2 objects table to be displayed on lightning component with the inline edit and add/delete rows option available for both the tables.Also save button for both needs to be same and custom one. ...
0
votes
1answer
36 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> <...
3
votes
1answer
324 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 ...
0
votes
0answers
239 views

Table headers not wrapping in slds table

I have used slds table <div class="slds-wrap slds-cell-wrap slds-p-top_xx-large"> <table class="slds-...
0
votes
0answers
44 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: ...
2
votes
1answer
719 views

Table row LWC breaking SLDS styles

Situation I'm building a table row LWC to separate and encapsulate some logic like so: <!-- tableComp.html --> <table class="slds-table slds-table_cell-buffer slds-table_bordered"> &...
0
votes
1answer
21 views

display rendered values on the same line

I made a < apex:reapeat> tag within a table and I want to use rendered to display or not values from a list, base on an input search. The problem is if I have 5 values in the list for example: ...
8
votes
3answers
7k views

Lightning Web Component for table rows and cells

I'm trying to build a LWC that renders a complex table-based UI. It needs to have distinct rows and columns with dynamically-determined colspans - a real table. It's for assigning lodging, and each ...
0
votes
0answers
20 views

Update column value in a table whenever a value in row is changed

I'm populating column values using aura:iteration in a table and i want to change the column values whenever a row's(populated using aura:iteration as well) value input is changed. The problem is that ...
0
votes
1answer
29 views

Input form and table on the same page. But only one is working

I am creating a Visualforce page. On that page I want to have a form to save new records and below that I want to have a table that shows all thata from that object. I created this, but the problem ...
0
votes
1answer
43 views

Lightning - Access to the elements of a table [closed]

I have a table, and I want access to value of the columns: I want sum all rows (fields Item_1__c, Item_2__c, Item_3__c, Item_4__c of all rows) and set to variable totalColumns. And addClass to row if ...
0
votes
0answers
1k 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
274 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
364 views

Change style on checkbox selection in Lightning

I have a Lightning component with HTML table, with one of the columns being a checkbox. I am trying to change table row style when the checkbox is selected, by using $A.util.toggleClass in the ...
0
votes
0answers
39 views

Add rows on button click without loosing input values from prev row

I'm trying to make a table with add row functionality. The process is next: User works with one row, put data in input fields, and then add another row. The first row must contain data that user ...
2
votes
1answer
120 views

Combine two lists in to one visualforce table

I Have to lists with different records but using only one object. Like Example Apex Controller: List<Commission_Setting__c> minChargeOTC = [Select Id, Commission_for__c, Rate__c From ...
0
votes
1answer
43 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
25 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 ...
3
votes
1answer
2k views

Lightning: <table> with dynamic column count, want fixed width columns and scrolling instead of automatic resizing

thanks as always, you dudes are the wind beneath my wings. What I have: A <table> that initializes with 2 columns, and a button that adds an additional column with each click (table is built ...
1
vote
1answer
2k views

lightning:input vertical alignment in table cell

Hi, I want to create a table in my lightning component. I created 2 lightning:input fields and want to change the vertical alignment to "middle" but it does not work. I tried to do the following: &...
0
votes
1answer
249 views

How to display table data inside apex:repeat horizontally? [duplicate]

<apex:form id="SectionTrack"> <table style="border: 2px solid black;"> <apex:repeat value="{!listT}" var="tp" id="Track_Table"> <tr><th >...
-3
votes
1answer
334 views

Show result of apex repeat in single row

<table> <apex:repeat value="{!dataList}" var="List" id="dataTable"> <tr> <th> Name </th> <th> Status</th&...
-4
votes
1answer
81 views

Expandible/Collapsible button inside a Table in SFDC lightning [closed]

I would like to add an expandable/collapsible button beside each row of a table. Upon clicking the button, a new row will be displayed inside the particular row,and on clicking the button again the ...
1
vote
1answer
27 views

Calculate variables in Visualforce tables

I would like to calculate two variables in Visualforce for rows in two different tables and show the calculation in a column on one of those tables. For example, I want {!percent_of_inspections} to ...
-2
votes
1answer
50 views

Sorting images in table in visualforce page

I have a text formula field (Star_Rating__c) to show star rating using images IMAGE(IF(ISPICKVAL(Rating__c,"1 Star"), "/img/samples/stars_100.gif", IF(ISPICKVAL(Rating__c,"2 Star"), "/img/...
0
votes
1answer
48 views

Show field details in apex page

I have below code where I need to show selected object's fields along with it's API Name, Label, Length, Type in a table format. Can someone please let me know if I can do that using ...
0
votes
2answers
361 views

wrapper data not showing in lightning component

i am triing to display wrapper data into table in lightning, but its displaying null data
0
votes
2answers
595 views

Passing Values from Lightning:menuitem

//Table with recordsetvar <td data-label="EDIT AND DELETE"> <lightning:buttonMenu alternativeText="More options" onselect="{!c.editDeleteJS}" iconSize="small" aura:id="{!grpsegrel.Id}"&...
8
votes
3answers
375 views

How to get rid of empty blue row in LE dashboard table component?

In all six table components in my LE dashboard (Summer'18 preview sandbox), I see as the last item an empty blue row. Is there a way to get rid of this? I tried limiting the number of groups, but that ...
1
vote
2answers
1k views

How to center lightning:select components in a table

I'm trying to center the lightning select and other form elements vertically; how would i do that? would i just have to use an html select and not lightning? <td> <div class="slds-p-...
0
votes
1answer
2k 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 <...
3
votes
1answer
370 views

Justify text based on width of column width lightning design grid (slds)

I have a lightning grid table in which I show some data. 1 of the values has a long text. How do I adjust this according to the max of the table width. Grid: <p><b>{!opleiding....
1
vote
2answers
492 views

Rowspan with apex repeat

I try to create a table with rowspan, but get a wrong table, could somebody help to resolve this? This is my UPD VF Page: <apex:page controller="FinancialProductsController" showHeader="false" ...