jQuery datatables stored procedure for paging sorting and searching

Поділитися
Вставка
  • Опубліковано 13 гру 2024

КОМЕНТАРІ • 19

  • @LetCode96666
    @LetCode96666 5 років тому +2

    Venkat, this is probably the 100000th time im saying, U R THE BEST !!! always with the most important tutorials ! Thanks again

  • @sajjansarkar
    @sajjansarkar 8 років тому +3

    very nice, only one piece missing though, if we do type a search term, datatables needs an additional field to show the total unfiltered rows. This will allow it to display "Showing 1 to 10 of 138 entries (filtered from *7,506* total entries)"
    the missing variable here is the 7506 one, I got around this by doing a separate SELECT COUNT(*) without the @Search condition.
    Also out of curiosity, in the final SELECT, wouldnt it be faster if you did SELECT TOP (@DisplayLength) from cte instead of processing the whole CTE set to match the RowNum? In the TOP case,SQL Server will stop processing the rest of the CTE once @DisplayLength records have been found, no?

  • @ronchennai
    @ronchennai 9 років тому +1

    Thanks Venkat. Hoping your next series will be AngularJS... :)

  • @imadabab
    @imadabab 4 роки тому

    Videos 109, 110, 111 and 112 are excellent. Thanks a lot. Appreciate if you add another video number 114 explaining how to implement customer column search with server side jquery datatable. This is will be perfect.

  • @王智立-i8m
    @王智立-i8m 3 місяці тому

    很有價值,謝謝

  • @ymtan
    @ymtan 9 років тому

    Excellent video sir.

  • @saikiran538
    @saikiran538 6 років тому +2

    Hello Sir, excellent explanation. Could you please make an application to show data on bootstrap table with server side pagination and search functionality.? Can you please do that with returning json data. Thanks in Advance

  • @gurpreetsingharora8018
    @gurpreetsingharora8018 5 років тому

    Can we do the same thing using sql query without using Stored Procedure

  • @AsimMughal9
    @AsimMughal9 8 років тому

    Hello Sir, did you have any demo for inline jQuery editable datatable on youtube? I would appreciate it :)

  • @mahipalkamanchi
    @mahipalkamanchi 9 років тому

    thank u sir...!

  • @RSdevLife
    @RSdevLife 5 років тому

    Where is the part where you code it in the jquery? I'm interested in how to code it on the client side and how it handles the paging, sorting and searching. thanks!

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  5 років тому

      Hello Ross - You can all the jQuery tutorial series videos in logical sequence at the following link. Hope this helps.
      ua-cam.com/play/PL6n9fhu94yhVDV697uvHpavA3K_eWGQap.html

    • @hugomartinez2880
      @hugomartinez2880 4 роки тому

      @@Csharp-video-tutorialsBlogspot hola, entre a esa liga pero no encontré dónde se explica como implementarlo esto a datatables js

  • @gurpreetsingharora8018
    @gurpreetsingharora8018 5 років тому

    Can someone help me to do the same thing but without using stored procedure

  • @josephregallis3394
    @josephregallis3394 6 років тому

    When I test the stored procedure with spGetEmployees 10, 0, 1, 'asc', 'Male'
    I don't get all 'Male' employees.

    • @rezkarjs2808
      @rezkarjs2808 6 років тому

      Because it uses "like clause", where 'female' contains 'male'

  • @zxcvbnm2020
    @zxcvbnm2020 6 років тому

    Works fine but slow with large tables
    I have a table with 2 millions records , it takes 20 seconds to execute spGetData 1000 ,0,0,'desc'
    would you please let me know how can i enhance it more

    • @ali-13392
      @ali-13392 3 роки тому

      I believe it's due to LIKE operator. There's another approach known as "Full Text Search" in SQL server for searching up records, also there's 1 more approach "nGrams". Check them out, hope that helps!