{"id":6073,"date":"2024-06-18T15:26:52","date_gmt":"2024-06-18T09:56:52","guid":{"rendered":"https:\/\/dnrcollege.org\/en\/?p=6073"},"modified":"2024-06-18T15:31:19","modified_gmt":"2024-06-18T10:01:19","slug":"econtent-computer-science-department-ug","status":"publish","type":"post","link":"https:\/\/dnrcollege.org\/en\/econtent-computer-science-department-ug\/","title":{"rendered":"eContent &#8211; Computer Science Department (UG)"},"content":{"rendered":"<p><script src=\"https:\/\/code.jquery.com\/jquery-1.11.3.min.js\"><\/script><br \/>\n<script src=\"https:\/\/code.jquery.com\/mobile\/1.4.5\/jquery.mobile-1.4.5.min.js\"><\/script><\/p>\n<div id=\"pageone\" data-role=\"page\">\n<div data-role=\"header\">\n<h1>Column Toggle Table<\/h1>\n<\/div>\n<div class=\"ui-content\" data-role=\"main\">\n<p>The &#8220;column toggle table&#8221; will hide columns when there is not enough width to display the data.<\/p>\n<p>In this example we have used the well-known Northwind sample database. Below is a selection from the &#8220;Customers&#8221; table.<\/p>\n<h4>Slowly resize the width of your browser window. The layout will adjust itself to fit the &#8220;new&#8221; width of the browser. OR, you can use the &#8220;Columns&#8230;&#8221; button to choose which column should be hidden or shown.<\/h4>\n<table id=\"myTable\" class=\"ui-responsive\" data-role=\"table\" data-mode=\"columntoggle\">\n<thead>\n<tr>\n<th data-priority=\"6\">CustomerID<\/th>\n<th>CustomerName<\/th>\n<th data-priority=\"1\">ContactName<\/th>\n<th data-priority=\"2\">Address<\/th>\n<th data-priority=\"3\">City<\/th>\n<th data-priority=\"4\">PostalCode<\/th>\n<th data-priority=\"5\">Country<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>Alfreds Futterkiste<\/td>\n<td>Maria Anders<\/td>\n<td>Obere Str. 57<\/td>\n<td>Berlin<\/td>\n<td>12209<\/td>\n<td>Germany<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>Antonio Moreno Taquer\u00eda<\/td>\n<td>Antonio Moreno<\/td>\n<td>Mataderos 2312<\/td>\n<td>M\u00e9xico D.F.<\/td>\n<td>05023<\/td>\n<td>Mexico<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>Around the Horn<\/td>\n<td>Thomas Hardy<\/td>\n<td>120 Hanover Sq.<\/td>\n<td>London<\/td>\n<td>WA1 1DP<\/td>\n<td>UK<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>Berglunds snabbk\u00f6p<\/td>\n<td>Christina Berglund<\/td>\n<td>Berguvsv\u00e4gen 8<\/td>\n<td>Lule\u00e5<\/td>\n<td>S-958 22<\/td>\n<td>Sweden<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div data-role=\"footer\">\n<h1>Footer Text<\/h1>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Column Toggle Table The &#8220;column toggle table&#8221; will hide columns when there is not enough width to display the data. In this example we have used the well-known Northwind sample database. Below is a selection from the &#8220;Customers&#8221; table. Slowly <a href=\"https:\/\/dnrcollege.org\/en\/econtent-computer-science-department-ug\/\" class=\"read-more\">Read More &#8230;<\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[72],"tags":[],"class_list":["post-6073","post","type-post","status-publish","format-standard","hentry","category-econtent"],"_links":{"self":[{"href":"https:\/\/dnrcollege.org\/en\/wp-json\/wp\/v2\/posts\/6073","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dnrcollege.org\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dnrcollege.org\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dnrcollege.org\/en\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/dnrcollege.org\/en\/wp-json\/wp\/v2\/comments?post=6073"}],"version-history":[{"count":0,"href":"https:\/\/dnrcollege.org\/en\/wp-json\/wp\/v2\/posts\/6073\/revisions"}],"wp:attachment":[{"href":"https:\/\/dnrcollege.org\/en\/wp-json\/wp\/v2\/media?parent=6073"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dnrcollege.org\/en\/wp-json\/wp\/v2\/categories?post=6073"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dnrcollege.org\/en\/wp-json\/wp\/v2\/tags?post=6073"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}