Questions tagged [dynamic-columns]
311 questions
2
votes
1 answer
Primefaces data exporter from data table with dynamic columns
Has anyone used primefaces data exporter component successfully with primefaces datatable with dynamic columns?
In my case, it generates the excel file but it is empty.
But if I keep everything same and just normal datatable instead of datatable…

Bhesh Gurung
- 50,430
- 22
- 93
- 142
2
votes
2 answers
MariaDB NoSQL data using dynamic columns or JSON
I want to store dynamic statistical data in a NoSQL way - a structured document and be able to work on a parameter basis.
e.g.
{
'client': 1245,
'amount': 25425,
'create_date': '2019-01-01'
}
As I understand, MariaDB has two different…

Jiri Fornous
- 402
- 4
- 10
2
votes
0 answers
How can I make dynamically changeable columns for a hierarchical TreeView?
I am working on a WPF application which uses a hierarchical table. I made a sample project that works well, but there is another specification which must be provided.
I used the following Microsoft sample to make the project:…

Christian
- 105
- 1
- 6
2
votes
2 answers
Access data.table columns through vector indexes?
i'm stucked with a problem but i can find no satisfying answers on the web. I would like to valorize a data.frame(also a data.table it's good for me) using start:end vectors. An example will clarify what i'm asking.
Suppose i have a data.framelike…

Andrea Rivolta
- 33
- 3
2
votes
4 answers
Automatic leading zero for same column names in python
I read csv with more than 300 columns. Many columns have similar names.
Shortened example from the csv:
index d c a b b a a a
0 data data data data data data data data
Python automatically adds numbers…

k.ko3n
- 954
- 8
- 26
2
votes
2 answers
How to make this forloop count from 1-8?
I'm creating tables with 4 rows and 2 columns using this for loop:
$row = 4; //Dynamic number for rows
$col = 2; // Dynamic number for columns
for($i=0;$i<$row;$i++){
for($j=0;$j<$col;$j++){
echo $i+$j.'';
}
…

Ke.
- 2,484
- 8
- 40
- 78
2
votes
1 answer
spark-dataframe pivot missing columns/values
Right now I'm facing a problem that I can't solve, let me explain.
I need to pivot a spark-dataframe, but in some cases there are no records for the pivot to include the column that I need. Here is an example:
Let's say that the are 4 types of…

izelcp
- 23
- 5
2
votes
1 answer
UWP (xaml) - load dynamic columns and rows to GridView
I'm trying to load dynamic data with rows and columns to a GridView or ListView control so it looks like a table with headers and rows. My aim is to do something like this:
I've found that layout explanation on this site : ListView but the problem…

marczulajtis
- 127
- 2
- 15
2
votes
1 answer
Dynamically concatenate Columns in R
I'm having a problem dynamically concatenating Columns. I'm building a Regional Calculator which sums measures but want it to be flexible enough to accommodate various inputs.
Using mtcars and an example:
ColA <- "mpg"
…

Chris Woodfield
- 107
- 9
2
votes
1 answer
JavaFx dynamic column values
I have a TreeTableView and I want to add columns dynamically. In MyCustomRow i have a Map with the values in the row. I'm adding the new column this way:
private TreeTableColumn…

Sunflame
- 2,993
- 4
- 24
- 48
2
votes
2 answers
mysql select dynamic rows as column names
Student_id | Skill_id | skill-Score
1 30 5
1 50 1
1 63 2
1 42 2
2 30 7
2 50 3
2 63 …

Abid
- 344
- 1
- 4
- 21
2
votes
1 answer
checkbox binding not working in dynamic created column
In my angular app, I'm creating table dynamically from javascript.
$("#tableName").html("
");
here is how I'm…

Naila Akbar
- 3,033
- 4
- 34
- 76
2
votes
3 answers
Dynamically change column names as week number on every weekly run
I want to build a SSRS report that has column as week numbers - 8 weeks for 8 columns starting with current. This report is run every week and current week number is set then. So both column names and their values should change .Is it possible to…

PC-Stats
- 95
- 2
- 9
2
votes
2 answers
Pandas Pivot table - incremental column names
I am trying to use Pandas pivot_table to move line items on my receipts as columns, leaving only one row per receipt. My main challenge is to name my new columns counting numbers as needed and fill with NaNs.
I am trying to make this:
customer_id…

user6453877
- 314
- 1
- 4
- 14
2
votes
1 answer
how to add dynamic columns in fixed data table
I am trying to acheive a dynamicallly populated columns with data, using facebooks's fixed data table. I receive data with columns ranging from 10 - 100. So my intent was to create columns dynamically. Below is what I have tried
Class App extensd…

dhirajbasukala
- 171
- 2
- 9