Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6618929
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T20:54:04+00:00 2026-05-25T20:54:04+00:00

I using jquery datatable plugin and having a Create button for ajax creation of

  • 0

I using jquery datatable plugin and having a “Create” button for ajax creation of my db instance. I wish to reload the datatable after the db instance is created, and i spend for more than one day just to find a solution for this. The closest thing i could find is the plugin for DataTables – fnReloadAjax, however, i cant get it to work.
I get either error like: fnReloadAjax is not a function OR networkerror: null124234242 is not found (in firebug)

Any idea how can i reload the table so user can get to see the newly inserted data without refreshing the page??

    // Initialize data table
    var myTable = $('#stocktable').dataTable({

        // Try styling
        "sScrollX": "100%",
        "sScrollXInner": "100%",
        "bScrollCollapse": true,

        // To use themeroller theme
        "bJQueryUI": true,
        // To use TableTool plugin
        "sDom": 'T<"clear">lfrtip',
        // Allow single row to be selected
        "oTableTools": {
            "sRowSelect": "single"
        }
        // Use dataTable editable plugin to allow ajax delete
    }).makeEditable({
        // Reference to controller action
        //sAddURL: "/Stock/AddData",
        sDeleteURL: "/Stock/DeleteData",
        sDeleteHttpMethod: "GET"
    });

When i try to call myTable.fnReloadAjax(), i get the error..
Really need help here…
Thanks…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T20:54:05+00:00Added an answer on May 25, 2026 at 8:54 pm

    You are using datatable in the client-mode; hence, all rows are already in the TBODY. fnReloadAjax works only if you are in the server-side processing mode.

    When makeEditable plugin post request to the server page it automatically add row in the TBODY of the table so you do not need to refresh the table – it is already there. If you do not see it maybe it is placed on some other page because when row is added it is positioned according to the current sort criterion.

    If you really want to refresh the table only thing you can do is to refresh entire page but new row will still be shown on some other page and you will not see it until you find exact page where it is placed.

    Jovan

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the DataTables jQuery plugin and am having issues with the First and
I have a column with buttons in a table I'm using jQuery datatable plugin.
I am using the jquery datatable plugin. I have the following code that sets
I am using JQuery with the DataTable plugin, and now I have a big
everytime my page loads, im supposed to create a datatable (also a jquery plugin)
When using jQuery 's ajax method to submit form data, what is the best
When adding a row dynamically using jQuery DataTables plugin , what do I do
I am using the jQuery DataTables plugin. I would like to move the search
I am using the DataTables jQuery plugin. The way I want my tables to
Using jQuery , how can I dynamically set the size attribute of a select

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.