Custom Search in jQuery Datatable - Part 3

  Рет қаралды 18,122

CodAffection

CodAffection

Күн бұрын

Пікірлер: 20
@CodAffection
@CodAffection 7 жыл бұрын
goo.gl/bPcyXW : Buy me a Coffee bit.ly/3XcDUNd : Next Video bit.ly/3AXsdm8 : Prev. Videos bit.ly/36IA1cH : AspNet Core MVC CRUD Operations bit.ly/3Pn2S7y : Expense Tracker App in AspNet Core MVC bit.ly/2yEPlpB : Convert MVC App to Single Page(jQuery Ajax) bit.ly/403lUVC : MVC Login & User Registration bit.ly/39B6xdh : Image Upload in AspNet Core MVC bit.ly/30fPDMg : More MVC Tutorials
@bkcy18
@bkcy18 Жыл бұрын
Thanks a lot for this playlist. The sever side videos are really helpful. Any resources on how to query the database with multiple values for a column? Basically, i need a multiselect dropdown in the ui for some columns.
@erisonnicodemos
@erisonnicodemos 5 жыл бұрын
Man this tutorial helped me a lot, congrats!
@CodAffection
@CodAffection 5 жыл бұрын
Glad you found the video helpful.
@TanvirMahmudKhan
@TanvirMahmudKhan 4 жыл бұрын
Thank you so much... But the dropdown is not loading server-side.... It's generating from the current 10 rows... Do you have any solution for this ?
@erisonnicodemos
@erisonnicodemos 5 жыл бұрын
First thank you for this tutorial, but in my case I need have more than one column in my Grid with select box! How I can do this!
@kunireddysrikanthreddy5773
@kunireddysrikanthreddy5773 4 жыл бұрын
Hi , it was nice explanation.i have an doubt Individual column filtering using fixed columns in data table, it is possible?, if yes, any article link please
@casimirogreco6968
@casimirogreco6968 4 жыл бұрын
Thank you for the great tutorial. I think there is mistake. In the Office Dropdown population Serverside, not all the values of the Domain are populated (ex. Singapore is missing, see minute at 39:44). This is because the dropdown is populated with the values from the first 10 elements of the server (where no Employees are from Singapore). Thank you again for your effort :)
@TanvirMahmudKhan
@TanvirMahmudKhan 4 жыл бұрын
@Casimiro Did you find any solution for this ?
@mohsinali-uf9dl
@mohsinali-uf9dl 6 жыл бұрын
Great
@manipathak4296
@manipathak4296 6 жыл бұрын
Great videos.Can you please help to make this datatable as inline with save functionality for each record?
@CodAffection
@CodAffection 6 жыл бұрын
I'll try. but not in datatable plugin. they provide the feature in paid plugin : datatable editable.
@manipathak4296
@manipathak4296 6 жыл бұрын
Hey I have made the inline template using datatable with modifications in jquery.But as soon as I post data in the indvisual search columns they get disappeared after the post request.Is there any other method where the input text box generated would not be destroyed on request fom server. Thanks in advance.
@ioannistallis5172
@ioannistallis5172 6 жыл бұрын
Τhanks for the great video
@CodAffection
@CodAffection 6 жыл бұрын
Glad you found the video helpful.
@manipathak4296
@manipathak4296 6 жыл бұрын
I tried the code but to the vain it cant able to find the "index" in the function ...can you please help me what I doing wrong in this?
@nazmulhyder8695
@nazmulhyder8695 6 жыл бұрын
help!!! how to include action link inside Jquery datatable ?
@CodAffection
@CodAffection 6 жыл бұрын
did you try this : stackoverflow.com/a/11262595/4133590
@nazmulhyder8695
@nazmulhyder8695 6 жыл бұрын
@@CodAffection no!but I've seen this ... not clear so much... pls make a video for action links integration in client/server side processing jquery data table .
@GSSM9274
@GSSM9274 7 жыл бұрын
Hi, This is really useful tutorial, Thanks for posting.I have some issue in data table. Can you please tell me where I am missing.Here is my problem. I am trying to load JSON data into data tables using ajax call with 'GET' type. When ever I am using more than 8 columns I am getting 404 error.If its 8 columns then i can able to bind the data to data table successfully. Here is my table: ------------------------- Payment Date Payee Name Src Doc Type Amount Check Number Object Code KFSDocNbr Tax TypeCode @* TIN AddressLine1 AddressLine2 City State Country Zip Code Vendor Owner Code Reason Code*@ Payment Date Payee Name Src Doc Type Amount Check Number Object Code KFSDocNbr Tax TypeCode @* TIN AddressLine1 AddressLine2 City State Country Zip Code Vendor Owner Code Reason Code*@ here is my script ---------------------------- $(document).ready(function () { debugger; var KFSImportTable = $('#KFSImporttbl').DataTable({ "serverSide": true, //"fixedHeader": { footer: true }, "ajax": { "url": '@Url.Action("ImportKFSData", "KFSReportablePayments")', "dataType": "json", "type": "GET" // "contentType": "application/json; charset=utf-8" }, "bProcessing": true, "bSort": true, "dataSrc": "Data", "columns": [ { "data": "PaymentDate", //"bSearchable": false, }, { "data": "PayeeName" }, { "data": "SrcDocType" }, { "data": "Amount" }, { "data": "CheckNumber" }, { "data": "ObjectCode" }, { "data": "KFSDocNbr" }, { "data": "TaxTypeCode" } // { "data": 'TIN' } //{ "data": 'AddressLine1' } //{ "data": 'AddressLine2' }, //{ "data": 'City' }, // { "data": 'State' }, // { "data": 'Country' }, // { "data": 'ZipCode' }, // { "data": 'VendorOwnerCode' }, // { "data": 'ReasonCode' } ], "scrollY": 500, "scrollX": 400, "paging": false }); }); Here is my Controller.cs ------------------------------------- public JsonResult ImportKFSData() //(int rows,string sidx,string sord,int page)//,DateTime startDate,DateTime endDate) { string startDate = "01/01/2016"; string endDate = "01/15/2016"; int page = 1; var _KFSImportList = new KFSPaymentDetailList(); if (Session["KFSImport"] != null) { //If so access it here _KFSImportList = Session["KFSImport"] as KFSPaymentDetailList; } else { // var _KFSImportList = new KFSPaymentDetailListViewModel(Convert.ToDateTime(startDate), Convert.ToDateTime(endDate), "mareedum"); _KFSImportList = KFSPaymentDetailList.GetKFSImportList(Convert.ToDateTime(startDate), Convert.ToDateTime(endDate), "mareedum"); Session["KFSImport"] = _KFSImportList; } var result = new { total = 50, Page = page.ToString(), records = _KFSImportList.Count(), Data = _KFSImportList.Select(kfsRawData => new { kfsRawData.PaymentDate, kfsRawData.PayeeId, kfsRawData.PayeeName, kfsRawData.SrcDocType, kfsRawData.Amount, kfsRawData.CheckNumber, kfsRawData.ObjectCode, kfsRawData.KFSDocNbr, kfsRawData.TaxTypeCode, kfsRawData.TIN, kfsRawData.AddressLine1, kfsRawData.AddressLine2, kfsRawData.City, kfsRawData.State, kfsRawData.ZipCode, kfsRawData.Country, kfsRawData.VendorOwnerCode, kfsRawData.ReasonCode }).ToArray() }; return Json(result, JsonRequestBehavior.AllowGet); } }
Column Visibility And Fixed Columns in jQuery Datatable - Part 4
21:53
Print And Export in jQuery Datatable - Part 5
18:23
CodAffection
Рет қаралды 15 М.
Haunted House 😰😨 LeoNata family #shorts
00:37
LeoNata Family
Рет қаралды 5 МЛН
amazing#devil #lilith #funny #shorts
00:15
Devil Lilith
Рет қаралды 18 МЛН
jQuery Datatable Server Side Processing in Asp.Net MVC - Part 2
30:25
Custom Search in jQuery Datatables using PHP Ajax
27:26
Webslesson
Рет қаралды 76 М.
jQuery datatables get data from database table
21:04
kudvenkat
Рет қаралды 282 М.
jqGrid In Asp.Net MVC Using SQL Server Database
26:03
CodAffection
Рет қаралды 34 М.
jQuery datatables individual column search
15:04
kudvenkat
Рет қаралды 95 М.
Webgrid Paging, sorting and filtering in ASP.Net MVC
40:39
sourav mondal
Рет қаралды 155 М.
Asp.Net MVC CRUD Operations Using Datatable
1:00:51
CodAffection
Рет қаралды 385 М.