All Questions
267 questions
0
votes
0
answers
20
views
DataTable is always empty in ASP.NET MVC
I am working with jQuery datatables, but the datatable is always empty when the page loads. On inspecting the network tab, the request returns an empty response but when debugging the controller ...
1
vote
1
answer
849
views
Uncaught TypeError: Cannot read properties of undefined (reading 'sClass') while using datatables
In Index.cshtml: I try to show list of products by using datatables features by using the id="tabledata" on table html tag
@model List<Product>
<div class="card shadow border-...
0
votes
2
answers
250
views
jQuery Datatable column filter search is not working
I am working on a ASP.Net Core MVC C# app (Visual Studio 2022) and it uses jQuery datatable. I am using ajax call to load data from database. On each column header in the datatable, there is a filter ...
0
votes
1
answer
164
views
Filter menu is not working with jQuery DataTable
I am dynamically loading data into the jQuery datatable using ajax method. The filter menu is droping down when clicking on the filter icon in datatable column header and it shows always "...
0
votes
1
answer
92
views
JQuery Datatable - Column Sorting is not working in the
I am working on an ASP.NET Core MVC app and using JQuery Datatable in my app.
My datatable is not sorting when clicking the sort button in the column header. My datatable is as shown below:
<table ...
0
votes
0
answers
58
views
DataTable values are getting the default values (initially loaded values) when we click on the dropdown icon of DataTable in ASP.NET & C# using jQuery
I'm very new to this DataTable logic implementation concept and I have append the data to the DataTable and append successfully and in that DataTable controls I have written some event logic (ex: ...
0
votes
0
answers
103
views
how to instantiate a DataTable object
I am creating a web application in asp.net that runs a query and with the received data instantiates a datatable object and displays the data on the screen.
This is my backend:
[WebMethod]
public ...
0
votes
1
answer
98
views
How to make an ajax call to a C# file
I would like to create an aspx file with an ajax call in it pointing to a method in the C# file, the latter runs query to a database and returns the data to the aspx file to instantiate a dataTable ...
0
votes
0
answers
81
views
Razor / ASP.NET MVC Core 7: How to return the edited grid data from all paginations to the controller
I have editable table in UI that extends up to multiple paginations. I am using datatables.net library display this table along with pagination.
https://datatables.net/examples/styling/bootstrap5.html
...
0
votes
2
answers
216
views
Close first pop up on button click when second button is clicked in JQuery datatables
I am learning asp.NET Core, and currently I am working on Jquery data tables. I am facing a problem in data table. Please see attached image:
See, in the image, there is a View button for each row. ...
1
vote
1
answer
442
views
jQuery DataTable not working after apply update panel so How to prevent that?
I working on asp.net web forms . I face issue jQuery data table example not working after press search button for display data on data table.
I try to search for reason I found that update panel is ...
0
votes
1
answer
74
views
jquery:datatable save button: always gets the original value instead of updated one
I have a jquery:Datatable with a custom Save button like below:
...,
{
text: 'Save',
action: function (e, dt, node, config) {
...
0
votes
1
answer
647
views
How can I retrieve the content of my jquery datatable in c#?
I have an HTML table that I'm converting into datatable. In this datatable, I can edit a value in a cell. I want to attach a "save" button to this datatable and once a user clicks it then it ...
1
vote
0
answers
52
views
Jquery Datatable data is not getting aligned with the table header
using JQuery Datatable we are trying to row grouping and facing the below issue - table header and data is not getting aligned properly as shown in the below image tried setting css property,adjusting ...
0
votes
0
answers
525
views
Updating UI without needing reload/refresh when deleting/adding new rows to DataTables?
I have a table that is rendered using DataTables in a cshtml file. I am adding and removing users. I add users using select2 tag and remove a user from the table.
The table body has a row with a ...