22,098 questions
1
vote
3
answers
160
views
How to lazily load DataTable rows from a large text file using IEnumerable and yield return in C#?
I'm working on a C# application where I need to read a very large text file and convert its contents into a DataTable. However, I don't always need all the rows—so I want to avoid loading the entire ...
2
votes
0
answers
76
views
Problem with frozen columns in Datatable component from PrimeVue library (gaps, shifting)
I have encountered a problem with the DataTable component from the Primevue library.
When I assign pagination to a table and set several frozen columns, if I switch the number of rows displayed in the ...
0
votes
1
answer
43
views
Svelte + Routify: Carbon Pagination always resets to page 1 instead of syncing with URL
I’m building a Svelte 4 app with Routify for routing and carbon-components-svelte for UI.
I have a Pagination component that should read the current page from the URL query params ($params.page) and ...
0
votes
1
answer
81
views
Get original DataRow from GetChanges()-Table
I have some sort of undo functionality in my application. I remove a row from the GUI an could undo or commit it through the underlaying DataTable-functions RejectChanges or AcceptChanges. But when I ...
1
vote
0
answers
118
views
Header alignment with sort/filter icons in PrimeReact DataTable
I have a PrimeReact DataTable with multiple columns.
Each column has a text header, optionally with sort and filter options.
Alignment of the columns can differ, and I would like the alignment of the ...
0
votes
1
answer
56
views
How to convert string "false" and "true" to numeric 0 and 1
How do I convert string "false" and "true" to numeric 0 and 1 within Grafana?
I need to do this to then summarize a row or a column and get a count of trues.
I tried using "...
0
votes
1
answer
118
views
I have a DataTable mapped by ExcelDataReader, and I want to inject a new column with a fixed value
I'm building a service that would receive a .xlsx, .csv or .xls file through form-data, and I need to read the file columns (should be just 3 columns) and bulk copy the data into my SQL Server ...
1
vote
1
answer
108
views
In PowerShell, I cannot transfer System.Data.DataTable using the invoke-command to the remote host
Here is a script in which I am trying to pass a variable of type System.Data.DataTable via invoke-command to the remote host:
function Test1 {
param (
[System.Data.DataTable]
$...
0
votes
0
answers
41
views
Colresize option on Jquery Data table for fixed column
I have implemented jQuery DataTables on a Visualforce page and am currently using the FixedHeader and FixedColumns extensions. Now, I’m trying to implement column resizing functionality, but I am ...
0
votes
1
answer
53
views
DataTables loses selected checkboxes across pages when generating custom PDF with jQuery
I'm using DataTables with pagination and checkboxes to allow users to select multiple banners. Upon clicking "Generate Proposal", I collect all checked rows, generate HTML, and convert it to ...
1
vote
1
answer
55
views
The table has no ID, the date is contained in two columns
I have a table in which a new record is added about once a second. The ID is missing from the table. The "Time" column shows the time in milliseconds, which is reset at the end of the day.
...
0
votes
0
answers
69
views
Datatable Load from reader failure
I´m trying to fill a datatable with some information. The information is the result of a query.
here my code that not working:
TrinoConnectionProperties properties = new TrinoConnectionProperties()
`...
0
votes
1
answer
45
views
Sorting DataTable object by current values, while preserving original values
In C# I have a DataTable that has been modified several times, where some rows are deleted, some rows are updated, some rows remain the same.
DataTable detailsTable = GetDdetails();
Insert code that ...
2
votes
1
answer
95
views
'Failed to compare two elements in the array' when Order is done
I am getting an output from a DataTable for certain columns that have been defined in a string array: string[] columnsToBeUnique;
var ordered = dataTable1
.AsEnumerable()
...
1
vote
0
answers
57
views
Syntax error using DefaultView.RowFilter on DataTable
I'm getting this error when my code runs and I can't work out why as the syntax looks on point but I could be missing or misunderstanding something
System.Data.SyntaxErrorException: 'Syntax error: ...
0
votes
0
answers
16
views
DataTable with ContextMenu not handling muli-selected rows
I have working DataTable that works well with ContextMenu when DataTable is in single row select mode. When selectionMode="multiple", however, a right click on one of the selected rows ...
-1
votes
1
answer
405
views
how to wrap lwc lightning datatable header text
how to wrap lwc lightning datatable header text,
i'm already using wrapText: true, for table sorting its workig for table data but not for table header
<lightning-datatable data={pagedRecords} ...
0
votes
0
answers
90
views
Flutter DataTable2 - Expand/Collapse on clicking a row
I am using the Flutter DataTable2 to display one set of data. However, would like to know if I can add additional rows to display a second set of data on clicking a row. This is like the Expansion ...
2
votes
1
answer
117
views
How to make select cell focused in jquery datatable
Im using Jquery data table
im using 3 fixedColumn when i press shift+tab from end row its navigating each cell but some cell are not focusable its showing half field which difficult identify which ...
0
votes
0
answers
49
views
How to dynamically Access `c:set` defined values in JSF Facelets (Primefaces Datatable)?
The value defined by c:set refers to a var (name of the iterator variable used to refer each data), but the column values are not displayed.
How should it be defined to be displayed correctly?
<c:...
0
votes
1
answer
104
views
SqlDataAdapter not filling DateOnly fields from SQL Server in C#
I have a SQL Server table with
CREATE TABLE date_table
(
id int NOT NULL,
my_date date NULL
);
And I'm fetching data into the table from a DataTable in C# with a standard call to Fill like ...
0
votes
1
answer
53
views
Can not read XML data from the file written with 'dataTable.WriteXml()' method
I have a data table with the following columns.
dataTable.Columns.Add("ID", typeof(string));
dataTable.Columns.Add("File Name", typeof(string));
dataTable.Columns.Add(&...
1
vote
1
answer
84
views
Datagridview's Datasource Doesn't Update Until Leaving Row
Sorry if this is answered elsewhere, I've searched all over and can't find an answer. I think my scenario is pretty simple.
I have a DataGridView who's DataSource is set to a DataTable. I handle the ...
0
votes
1
answer
39
views
LINQ - DataTable GroupBy Count Distinct
I am trying to join to tables together in vb.Net using linq to return the distinct count of the primary keys, and I can't quite seem to get the syntax
Here's the code to create the tables
Dim ...
0
votes
0
answers
25
views
Uncaught TypeError: Cannot set properties of undefined (setting '_DT_CellIndex') and the data table also not working
<table class="table datatable-basic table-bordered" id="mviewTable">
<thead>
<tr class="bg-blue-800">
...