Questions tagged [column]
The column tag has no usage guidance.
40
questions
0
votes
0
answers
34
views
Create Header Actions dynamically in lightning Datatable
In the documentation provided by Salesforce on the 'Datatable' component we find the necessary instructions (see section 'Creating Header Actions') to create actions at header level.
It is also ...
0
votes
0
answers
29
views
Add multiple Custom Columns in a Report
I am trying to to count number of opportunities, that contain specific text in opportunity name. I need fixed columns for example CMC, CPC ,Training and so on.
Opportunity name looks like: PQ CMC ...
1
vote
1
answer
220
views
Adding new custom column to Forecast Type in Forecasts
I haven't worked with forecasts before, but I'm required to add a new column to appear in one of our Quota tracking reports. The main fields of the report are Forecast Category and Quota amount, and ...
-1
votes
1
answer
444
views
Can I transpose columns to rows in a SFDC report?
If I dont have Einstein Analytics, and I want to report on a single object, and transpose few columns into rows, with rest of the fields repeating, is this possible in another method in the Out-of-the-...
0
votes
1
answer
2k
views
Report and Dashboard - Show This Month vs This Month Last Year Next To Each Others Using Column Chart
I'm building a report to compare all months this year vs all months last year. Right now, the Column Chart only shows ascending order. Example: Jan 22, Feb 22, March 22,... Jan 23, Feb 23.
I wonder if ...
1
vote
2
answers
3k
views
How to make column as url hyperlink in datatable using lWC?
Column : CaseNumber / ContactID (lookup)
I want to make them both as clickable link in <lightning-datatable
Code :
@wire(getAllCases, { lv0: '$listViewId' })
wiredOpps(result) {
...
0
votes
1
answer
167
views
Null Data in my columns
With this code I don't get any value , I get the column with the name but their are no value , I don't now what is the mistake .
Some help please .
public with sharing class Action {
@AuraEnabled(...
1
vote
1
answer
382
views
How to format a number so that dot appears in the thousands?
I have a datatable defined as follows:
<lightning:datatable data="{!v.mydata }" columns="{!v.mycolumns}" keyField="id" hideCheckboxColumn="true" ...
0
votes
1
answer
2k
views
LWC Datatable - Add an action button on top left corner
Context : I created my own table that haves a component in the top left corner, that toggles a window with a checkbox group to show or hide some columns.
The problem :
I now have to port my table into ...
0
votes
1
answer
1k
views
How to pass the data from from a lightning-datatable to a column
I have the following data as an array:
this.finalSObjectDataListChild = sObjectRelatedFieldListValues;
console.log(this.finalSObjectDataListChild);
From an icon-button on the row I trigger ...
3
votes
1
answer
13k
views
How to make columns lwc lightning-datatable dynamic with button-icon
I have a lwc component with a lightning-datatable with the first column as a button-icon. This works when the columns are defined as a constant.
Constant working
const columns = [
{
label: ...
2
votes
1
answer
2k
views
How to get lightning combobox list appear on top when there is few rows in lightning Datatable?
My question is similar to this, I have a custom dropdown column which is appearing completely fine when we have many rows in the datatable. But in a sitation when we have a single record, it
Lightning:...
0
votes
0
answers
2k
views
Updating the column and data of lightning-datatable on change of a combobox value in LWC
I have created a lightning datatable and have populated contact data in it.I am trying to update the column and data in datatable on change of a combobox.
The combobox has three options Lead, Contact, ...
1
vote
1
answer
137
views
PDF generation failed. Check the page markup is valid. Issue with datatable and columns tags
When rendering a visualforce page as PDF, I'm running into the error above often and have been unable to figure out what the error is.
Through process of elimination, I have been able to narrow down ...
0
votes
1
answer
952
views
Unable to get the data in columns using lightning data table with imperative call and javascript
I am new to salesforce, I am trying to learn lightning datatable with imperative call in salesforce.
I am unable to get the data in the column, its not throwing any error though. Please help to fix it....
1
vote
0
answers
1k
views
Empty Column in Csv , when exporting data as csv using Lwc component
I'm very new to salesforce and lwc , i'm trying to Export some static and some dynamic data in a csv using LWC Salesforce and succeeded in that( except with a new column has been added from the
...
0
votes
1
answer
391
views
Preventing odd number of fields in lightning:recordForm from spanning 2 columns
dev noob here --
My company has been using this aura/lightning component on many of our lightning pages and it works very well. We borrowed the idea from the example in the link below. It's extremely ...
0
votes
0
answers
356
views
How to use "." in LWC datatable in a column of type number?
I noticed that is not possible to use a number like "12.6" in a cell of type "number" but is only accepted a number like "12,6".
How can I allow the use of the "dot" character?
Thanks,
Luca
1
vote
0
answers
49
views
Find column from event was fired
experts! I have LWC data table populated with data. One or more columns contain Button element. I want to show some 'master-detail' information by clicking this button.
I tried to handle onRowAction ...
0
votes
2
answers
2k
views
Make slds-grid with 6 exactly equally square sizes (2 Rows & 3 Columns) & acquire all space
I am currently working on Building a Lightning Component, i am facing issue of size of each grid when i put layout in it there sizes are changed, all i want exactly same square sizes of 6 grid with 2 ...
1
vote
1
answer
1k
views
Conditionally Render Apex Column in Visualforce
I would like to conditionally render a column on my VF Page however does not appear to play nicely/support "rendered" logic. Any Help is appreciated!
<apex:column>
<apex:...
0
votes
1
answer
476
views
CSS for Excel Accounting Format?
I am working with a data table in Visualforce, and I am trying to get the columns with currency values to format similarly to how the account format looks in Excel, where it will align the dollar ...
4
votes
0
answers
495
views
Set two columns for a flow inside a custom component
For a regular Lightning Flow Component this option is available to change the Layout for the flow:
However, I have my flow inside a custom component:
Component:
<div class="slds-theme_default"&...
0
votes
1
answer
3k
views
Salesforce lightning setting slds column rows to be the same height
I'm using lightning:recordEditForm with lightning:inputField to generate a list of fields. I dynamically create a lightning:inputField component and add it to an slds column. The lightning:...
1
vote
1
answer
39
views
VF page column not rendering correctly
I have the following code(omitted everything else):
<apex:column headerValue="try1" rendered="{! s.Quote.RecordType.Name == 'Standard'}">
<apex:inputField value="{!s.Quantity}"/>
...
0
votes
1
answer
4k
views
in lightning component of aura iteration I want to limit of records to be displayed at 5 items per column
Please help me on how to display 5 records per column on aura iteration in lightning component. Let's say I have 10 records from Account object I want to display 5 records per column dynamically so ...
2
votes
1
answer
114
views
Visualforce apex:column can't see record ID in rendered attribute; Hide empty column in pageBlockTable
I create a map in the apex controller to store whether or not a QuoteLineItem has related records:
qliHasQimus = new Map<Id, Boolean>();
for (QuoteLineItem qli : qlis) {
if (qli....
3
votes
1
answer
1k
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
1
answer
1k
views
apex:column header value not displaying with apex:inputField
The docs for <apex:column /> states that the default behavior of the headerValue displays the field label when using an <apex:inputField/> or an <apex:outputField/> tag.
Note ...
0
votes
1
answer
1k
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
0
answers
217
views
Freezing column in visualforce page bageblock section [duplicate]
I have requirement to freez/lock firsrt 2 or 3 colums in a table which is implemented using pageblock table supose i have a page which displays all customer recrod details using pageblock table now i ...
0
votes
1
answer
1k
views
inline edit support for column
I have a colum
<apex:column value="{!b.name}" rendered="{!IF(b.account.name = a.account.name,true,false)}"/>
on which i want to do inline editing but I get the error:
must be the direct ...
0
votes
2
answers
156
views
Why the subquery header column doesn't show
my controller is :
public List<case> getCases(){
List<case> listCase =[SELECT (SELECT ActivityDate, Description,subject,Status,IsTask FROM OpenActivities where ActivityDate <= :...
1
vote
1
answer
2k
views
how to change order of columns in data extension?
I have added several new columns in my DE but now all new columns shows up at the end. it will be useful if i can re-arrange the columns in a specific order.
can i do that? how?
0
votes
0
answers
91
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
2
answers
341
views
How to save all columns of pageBlocktable in visualforce page as pdf?
I am trying to save my page as pdf, My page having Pageblocktable with 16 coloumns, When i try to save using code, it is just displaying only some columns in pdf.
How to save all cloumns in pdf? ...
0
votes
1
answer
189
views
Generating columns for pageblocktable through component
I need to design a table whose values in specific columns depends on values in a Case.
My initial visualforce page controller filters the cases so that I end up with a list of just a single type of ...
0
votes
1
answer
4k
views
Individual Column Filtering - Show 'All' in drop down and add a label to the filter dropdown
I'm using the following code to add filtering on one column in my datatable:
"initComplete": function () {
this.api().column(4).every( function () {
var column = ...
0
votes
2
answers
8k
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
3
answers
4k
views
Tooltip for <apex:column> Header Facet
Is there a standard mechanism for specifying a tooltip for an <apex:column> header?
I know that <apex:column> has a title attribute but that defines tooltip content for the table data ...