Open In App
Related Articles

jQuery Mobile Column-Toggle Table refresh() Method

Improve Article
Save Article
Like Article

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


Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Last Updated : 07 Feb, 2022
Like Article
Save Article
Similar Reads
Complete Tutorials