Open In App
Related Articles

jQuery Mobile Reflow refresh() Method

Improve Article
Save Article
Like Article

jQuery Mobile is a web-based technology used to make responsive content that can be accessed on all smartphones, tablets, and desktops.

In this article, we will be using the jQuery Mobile Reflow Table refresh() method to update the labels in the cells of the specified Reflow Table widget.


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

Parameters: This method does not accept any parameters.

Return Values: This method does not return any values.

CDN Link: First, add jQuery Mobile scripts needed for your project.

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

Example: This example describes the jQuery Mobile Reflow 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 Reflow Table refresh() Method</h3>
            <div id="log"></div>
            <div data-role="header">
            <div role="main">
                <table data-role="table" id="GFG" data-mode="reflow">
                            <th data-priority="1">Company Name</th>
                            <th data-priority="persist">Website</th>
                            <th data-priority="2">Year</th>
                            <td><a href="" 
            <input type="button" id="Button" value="Refresh the widget">
        $(document).ready(function () {
            $("#Button").on('click', function () {
                $("#log").html('The Reflow Table widget has been refreshed.');


jQuery Mobile Reflow refresh() Method


Last Updated : 20 Jan, 2022
Like Article
Save Article
Similar Reads
Related Tutorials