Skip to content
Related Articles

Related Articles

jQuery Mobile Column-Toggle Table refresh() Method

View Discussion
Improve Article
Save Article
Like Article
  • Last Updated : 07 Feb, 2022

jQuery Mobile is an HTML5 based user interface system designed to make responsive websites and apps that are accessible on all smartphone, tablet, and desktop devices.  

The Column-Toggle table widget allows to hide/show less important columns with the help of a Column button with checkboxes.

In this article, we are going to learn the jQuery Mobile Column-Toggle Table refresh() Method. This method is used to updates the labels in the cells. 


$( ".selector" ).table-columntoggle( "refresh" );

Parameters: This method does not accept any argument.

Return type: This method refresh the widget.

CDN Link: Below are some jQuery Mobile scripts that will be needed for your project so add these to your project.

<link rel=”stylesheet” href=”” />
<script src=””></script>
<script src=””></script>

Example: This example describes the uses of the jQuery Mobile Column-Toggle Table refresh() Method.


<!doctype html>
<html lang="en">
    <meta charset="utf-8">
    <meta name="viewport"
        content="width=device-width, initial-scale=1">
    <link rel="stylesheet"
    <script src=
    <script src=
        <div data-role="page">
        <h1 style="color:green;">
        <h3>jQuery Mobile Column-Toggle Table refresh Method</h3>
        <div id="log"></div>
        <div data-role="header">
        <div role="main">
            <table data-role="table"
                        <th data-priority="1">
                          Company Name
                        <th data-priority="persist">
                        <th data-priority="2">
                        <td><a href=""
            <input type="button" 
        $(document).ready(function () {
            $("#btn").on('click', function () {
                $("#log").html('Column-Toggle Table widget has been Refresh.');


jQuery Mobile Column-Toggle Table refresh() Method

jQuery Mobile Column-Toggle Table refresh Method


My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!