Questions tagged [table]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1
votes
0answers
17 views

text not wrapping in table

<div class="table-scrollable "> <!--class="table table-striped table-hover table-bordered"--> <table class="table table-...
0
votes
1answer
8 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
1answer
43 views

How to sort fields of an object related to another object

Sorting fields directly from an object works, but how to sort fields from a related object? How do you access the Description__c field so that you can sort the records? Controller @AuraEnabled public ...
0
votes
0answers
25 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
18 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
1answer
31 views

Get aura:id and selected option value in controller for <lightning:select>

I have a dropdown in a table in a lightning component. Here is the code of that td. <tbody> <aura:iteration items="{!v.recipientList}" var="recipient"> <tr class=...
0
votes
0answers
19 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="{!'...
2
votes
2answers
89 views

How to get the width of a table inside a LWC to adapt to the widths of its columns?

I have made a LWC that is used on an Account page. Unfortunately I had to resort to the use of raw HTML tables, due to all kinds of reasons. The table can have two to four columns, that depends on ...
0
votes
1answer
51 views

Unique Identifier for Lightning-input inside custom Data table

I have a custom data table and I wish to validate Desired_quantity for each row but I'm having trouble with creating a unique class for lightning-input component and fetching it using queryselector. ...
1
vote
1answer
44 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 ...
0
votes
1answer
46 views

Iterate the data in HTML Nested/Multi table with Single Header

Below is my HTML Table, which is iterating the parent and Child record and displaying the data in to the table as below In Child Record, For each rows header is rendering (Yes I'm Iterating the ...
1
vote
1answer
17 views

Datatable clumping all user information in 2 tables

I'm iterating over a list of objects in my visual force page. The goal of the iteration is to create 2 different tables Name | Stage | Recommendation Bob. | 1st. | Pass Questions | Answer | ...
0
votes
2answers
373 views

LWC - Get row Id in JS when in row button pressed

Wondering if there is and easy way to get a the dynamically generated row id using a button onclick attribute in JS. <template for:each={PS} for:item="partserve"> <tr key={partserve.Id}...
1
vote
0answers
41 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-...
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
219 views

Lightning input Field Lookup Drop-down

I have a Table and in each row lookup lightning input field , the problem is that the drop-dawn on the field are not over the next row so I cannot this it how it is : How it is suppose to be : I see ...
1
vote
1answer
71 views

Create component of rich Text with Table creation

I wonder how can I add more tools to lightning rich text, like - create a table tool. For example - this: <lightning:inputRichText value="{!v.myVal}" placeholder="hi!"/> render to this: ...
1
vote
1answer
522 views

Build table with for:each and Field Sets (LWC)

I'm making a table that displays a custom object with fields retrieved from Field Set on that object (that can, of course, be changed). I have apex logic that returns the List of CustomObject__c and ...
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
1
vote
0answers
671 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> ...
1
vote
1answer
468 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
34 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
116 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
114 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
151 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
40 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 : ====== ...
1
vote
2answers
84 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
77 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 ...
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
117 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
616 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
34 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
1answer
64 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; } <...
3
votes
1answer
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 ...
0
votes
0answers
98 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
1k 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
48 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: ...
11
votes
3answers
15k 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
1answer
32 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
47 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
2k 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
468 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
638 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 ...
2
votes
1answer
223 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
106 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
27 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
4k 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 ...
2
votes
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
439 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
489 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&...