{"id":12683,"date":"2024-03-20T10:25:26","date_gmt":"2024-03-20T03:25:26","guid":{"rendered":"https:\/\/km.ict.buu.ac.th\/?p=12683"},"modified":"2024-03-20T11:04:12","modified_gmt":"2024-03-20T04:04:12","slug":"%e0%b8%81%e0%b8%b2%e0%b8%a3-export-%e0%b8%82%e0%b9%89%e0%b8%ad%e0%b8%a1%e0%b8%b9%e0%b8%a5-%e0%b8%94%e0%b9%89%e0%b8%a7%e0%b8%a2%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b9%81%e0%b8%aa%e0%b8%94%e0%b8%87%e0%b8%84","status":"publish","type":"post","link":"https:\/\/km.ict.buu.ac.th\/?p=12683","title":{"rendered":"\u0e01\u0e32\u0e23 export \u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25 \u0e14\u0e49\u0e27\u0e22\u0e01\u0e32\u0e23\u0e41\u0e2a\u0e14\u0e07\u0e04\u0e2d\u0e25\u0e31\u0e21\u0e19\u0e4c\u0e2b\u0e31\u0e27\u0e15\u0e32\u0e23\u0e32\u0e07\u0e17\u0e35\u0e48\u0e21\u0e32\u0e01\u0e01\u0e27\u0e48\u0e32 1 \u0e41\u0e16\u0e27 \u0e02\u0e2d\u0e07 datatable"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"12683\" class=\"elementor elementor-12683\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-fe5939b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"fe5939b\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1a03ad8\" data-id=\"1a03ad8\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-069703f elementor-widget elementor-widget-text-editor\" data-id=\"069703f\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>\u0e43\u0e19\u0e01\u0e32\u0e23\u0e08\u0e31\u0e14\u0e17\u0e33\u0e23\u0e32\u0e22\u0e07\u0e32\u0e19\u0e02\u0e2d\u0e07\u0e23\u0e30\u0e1a\u0e1a\u0e2a\u0e32\u0e23\u0e2a\u0e19\u0e40\u0e17\u0e28\u0e15\u0e48\u0e32\u0e07 \u0e46 \u0e1b\u0e31\u0e08\u0e08\u0e38\u0e1a\u0e31\u0e19\u0e19\u0e34\u0e22\u0e21\u0e17\u0e33\u0e15\u0e32\u0e23\u0e32\u0e07\u0e40\u0e1b\u0e47\u0e19 datatable \u0e0b\u0e36\u0e48\u0e07 datatable \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16 export excel \u0e2b\u0e23\u0e37\u0e2d pdf \u0e2b\u0e23\u0e37\u0e2d print \u0e40\u0e1b\u0e47\u0e19\u0e15\u0e49\u0e19 \u0e44\u0e14\u0e49 \u0e41\u0e15\u0e48\u0e43\u0e19\u0e01\u0e32\u0e23 export \u0e1e\u0e1a\u0e1b\u0e31\u0e0d\u0e2b\u0e32\u0e27\u0e48\u0e32\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e04\u0e25\u0e34\u0e01 export \u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e21\u0e32\u0e41\u0e25\u0e49\u0e27\u0e2b\u0e31\u0e27\u0e15\u0e32\u0e23\u0e32\u0e07 \u0e41\u0e2a\u0e14\u0e07\u0e40\u0e1e\u0e35\u0e22\u0e07 1 \u0e41\u0e16\u0e27 \u0e0b\u0e36\u0e48\u0e07\u0e43\u0e19\u0e2b\u0e19\u0e49\u0e32\u0e27\u0e34\u0e27 \u0e08\u0e30\u0e41\u0e2a\u0e14\u0e07\u0e40\u0e1b\u0e47\u0e19 3 \u0e41\u0e16\u0e27\u00a0 \u0e14\u0e31\u0e07\u0e20\u0e32\u0e1e\u0e17\u0e35\u0e48 1 \u0e41\u0e25\u0e30 2<\/p><p><img decoding=\"async\" class=\"alignnone  wp-image-12710\" src=\"https:\/\/km.ict.buu.ac.th\/wp-content\/uploads\/2024\/03\/65_1_1_blur1jpg-300x75.jpg\" alt=\"\" width=\"328\" height=\"82\" \/>\u00a0<\/p><p>\u0e20\u0e32\u0e1e\u0e17\u0e35\u0e48 1 \u0e2b\u0e19\u0e49\u0e32\u0e08\u0e2d\u0e01\u0e32\u0e23\u0e41\u0e2a\u0e14\u0e07\u0e1a\u0e19\u0e2b\u0e19\u0e49\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c<\/p><p><img decoding=\"async\" class=\"alignnone size-medium wp-image-12709\" src=\"https:\/\/km.ict.buu.ac.th\/wp-content\/uploads\/2024\/03\/65_1_2_blur2jpg-300x29.jpg\" alt=\"\" width=\"300\" height=\"29\" \/><\/p><p>\u0e20\u0e32\u0e1e\u0e17\u0e35\u0e48 2 \u0e44\u0e1f\u0e25\u0e4c excel \u0e17\u0e35\u0e48 export \u0e21\u0e32\u0e08\u0e32\u0e01\u0e2b\u0e19\u0e49\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c<\/p><p>\u0e08\u0e32\u0e01\u0e01\u0e32\u0e23\u0e04\u0e49\u0e19\u0e2b\u0e32\u0e1e\u0e1a\u0e27\u0e48\u0e32\u0e21\u0e35\u0e41\u0e19\u0e27\u0e17\u0e32\u0e07\u0e01\u0e32\u0e23\u0e41\u0e01\u0e49\u0e44\u0e02\u0e44\u0e14\u0e49\u0e2b\u0e25\u0e32\u0e22\u0e17\u0e32\u0e07 \u0e43\u0e19\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e19\u0e35\u0e49\u0e08\u0e30\u0e19\u0e33\u0e41\u0e19\u0e27\u0e17\u0e32\u0e07\u0e01\u0e32\u0e23\u0e19\u0e33\u0e2b\u0e25\u0e32\u0e22 \u0e46 \u0e41\u0e16\u0e27 \u0e21\u0e32\u0e23\u0e27\u0e21\u0e01\u0e31\u0e19\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e43\u0e2b\u0e49\u0e41\u0e2a\u0e14\u0e07\u0e2d\u0e2d\u0e01\u0e21\u0e32\u0e43\u0e19\u0e41\u0e16\u0e27\u0e40\u0e14\u0e35\u0e22\u0e27\u0e01\u0e31\u0e19 \u0e14\u0e31\u0e07\u0e19\u0e35\u0e49\u00a0\u00a0\u00a0\u00a0<\/p><p>1. \u0e40\u0e1e\u0e34\u0e48\u0e21 code \u0e43\u0e19 &lt;script&gt;\u00a0<span>\u0e01\u0e48\u0e2d\u0e19\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e48\u0e19 datatable<\/span><\/p><p>function GetColumnPrefix(colIndex) {<\/p><p>\u00a0\u00a0\u00a0 switch (colIndex) {<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 case 2:<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 case 3:<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 return &#8220;\u0e1b.\u0e15\u0e23\u0e35 &lt; 4 \u0e1b\u0e35 &#8220;; <br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 case 4:<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 case 5:<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 return &#8220;\u0e1b.\u0e15\u0e23\u0e35 = 4 \u0e1b\u0e35 &#8220;;<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 case 6:<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 case 7:<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 return &#8220;\u0e1b.\u0e15\u0e23\u0e35 &gt; 4 \u0e1b\u0e35 &#8220;;<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 default:<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 return &#8220;&#8221;;<br \/>\u00a0\u00a0\u00a0 }<br \/>}<\/p><p>var buttonCommon = {<br \/>\u00a0\u00a0\u00a0 exportOptions: {<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 columns: &#8216;:visible&#8217;,<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 format: {<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 header: function(data, columnindex, trDOM, node) {<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 debugger;<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 return GetColumnPrefix(columnindex) + data;<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 }<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 }<br \/>\u00a0\u00a0\u00a0 }<br \/>};<\/p><p>2. \u0e43\u0e19 \u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e48\u0e19 datatable\u00a0 \u0e2a\u0e48\u0e27\u0e19\u0e02\u0e2d\u0e07 buttons \u0e41\u0e01\u0e49\u0e44\u0e02\u0e40\u0e1b\u0e47\u0e19<\/p><p>var table = <em>$<\/em>(&#8216;.tablesort_page&#8217;).DataTable({<br \/>\u00a0\u00a0\u00a0 dom: &#8216;Bfrtip&#8217;<\/p><p>\u00a0buttons: [<br \/>\u00a0\u00a0\u00a0 <em>$<\/em>.extend(true, {}, buttonCommon, {<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 extend: &#8216;copyHtml5&#8217;<br \/>\u00a0\u00a0\u00a0 }),<br \/>\u00a0\u00a0\u00a0 <em>$<\/em>.extend(true, {}, buttonCommon, {<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 extend: &#8216;excelHtml5&#8217;<br \/>\u00a0\u00a0\u00a0 }),<br \/>\u00a0\u00a0\u00a0 <em>$<\/em>.extend(true, {}, buttonCommon, {<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 extend: &#8216;print&#8217;<br \/>\u00a0\u00a0\u00a0 })]<\/p><p>});<\/p><p>\u0e41\u0e01\u0e49\u0e44\u0e02\u0e41\u0e25\u0e49\u0e27\u0e44\u0e14\u0e49<\/p><p><img decoding=\"async\" class=\"alignnone  wp-image-12711\" src=\"https:\/\/km.ict.buu.ac.th\/wp-content\/uploads\/2024\/03\/65_1_3_blur3jpg-300x36.jpg\" alt=\"\" width=\"383\" height=\"46\" \/><\/p><p>\u00a0<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u0e43\u0e19\u0e01\u0e32\u0e23\u0e08\u0e31\u0e14\u0e17\u0e33\u0e23\u0e32\u0e22\u0e07\u0e32\u0e19\u0e02\u0e2d\u0e07\u0e23\u0e30\u0e1a\u0e1a\u0e2a\u0e32\u0e23\u0e2a\u0e19\u0e40\u0e17\u0e28\u0e15\u0e48\u0e32\u0e07 \u0e46 \u0e1b\u0e31\u0e08\u0e08\u0e38\u0e1a\u0e31\u0e19\u0e19\u0e34\u0e22\u0e21\u0e17\u0e33\u0e15\u0e32\u0e23\u0e32\u0e07\u0e40\u0e1b\u0e47\u0e19 datatable \u0e0b\u0e36\u0e48\u0e07 datatable \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16 export excel \u0e2b\u0e23\u0e37\u0e2d pdf \u0e2b\u0e23\u0e37\u0e2d print \u0e40\u0e1b\u0e47\u0e19\u0e15\u0e49\u0e19 \u0e44\u0e14\u0e49 \u0e41\u0e15\u0e48\u0e43\u0e19\u0e01\u0e32\u0e23 export \u0e1e\u0e1a\u0e1b\u0e31\u0e0d\u0e2b\u0e32\u0e27\u0e48\u0e32\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e04\u0e25\u0e34\u0e01 export \u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e21\u0e32\u0e41\u0e25\u0e49\u0e27\u0e2b\u0e31\u0e27\u0e15\u0e32\u0e23\u0e32\u0e07 \u0e41\u0e2a\u0e14\u0e07\u0e40\u0e1e\u0e35\u0e22\u0e07 1 \u0e41\u0e16\u0e27 \u0e0b\u0e36\u0e48\u0e07\u0e43\u0e19\u0e2b\u0e19\u0e49\u0e32\u0e27\u0e34\u0e27 \u0e08\u0e30\u0e41\u0e2a\u0e14\u0e07\u0e40\u0e1b\u0e47\u0e19 3 \u0e41\u0e16\u0e27\u00a0 \u0e14\u0e31\u0e07\u0e20\u0e32\u0e1e\u0e17\u0e35\u0e48 1 \u0e41\u0e25\u0e30 2 \u00a0 \u0e20\u0e32\u0e1e\u0e17\u0e35\u0e48 1 \u0e2b\u0e19\u0e49\u0e32\u0e08\u0e2d\u0e01\u0e32\u0e23\u0e41\u0e2a\u0e14\u0e07\u0e1a\u0e19\u0e2b\u0e19\u0e49\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c \u0e20\u0e32\u0e1e\u0e17\u0e35\u0e48 2 \u0e44\u0e1f\u0e25\u0e4c excel \u0e17\u0e35\u0e48 &hellip; <\/p>\n","protected":false},"author":45,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"pmpro_default_level":"","footnotes":""},"categories":[692,695],"tags":[],"class_list":["post-12683","post","type-post","status-publish","format-standard","hentry","category-services-knowledge","category-developer","pmpro-has-access"],"jetpack_featured_media_url":"","rttpg_featured_image_url":null,"rttpg_author":{"display_name":"Kitinan Hoondee","author_link":"https:\/\/km.ict.buu.ac.th\/?author=45"},"rttpg_comment":0,"rttpg_category":"<a href=\"https:\/\/km.ict.buu.ac.th\/?cat=692\" rel=\"category\">\u0e0a\u0e38\u0e21\u0e0a\u0e19\u0e01\u0e32\u0e23\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e41\u0e25\u0e30\u0e04\u0e27\u0e32\u0e21\u0e23\u0e39\u0e49<\/a> <a href=\"https:\/\/km.ict.buu.ac.th\/?cat=695\" rel=\"category\">\u0e0a\u0e38\u0e21\u0e0a\u0e19\u0e19\u0e31\u0e01\u0e1e\u0e31\u0e12\u0e19\u0e32<\/a>","rttpg_excerpt":"\u0e43\u0e19\u0e01\u0e32\u0e23\u0e08\u0e31\u0e14\u0e17\u0e33\u0e23\u0e32\u0e22\u0e07\u0e32\u0e19\u0e02\u0e2d\u0e07\u0e23\u0e30\u0e1a\u0e1a\u0e2a\u0e32\u0e23\u0e2a\u0e19\u0e40\u0e17\u0e28\u0e15\u0e48\u0e32\u0e07 \u0e46 \u0e1b\u0e31\u0e08\u0e08\u0e38\u0e1a\u0e31\u0e19\u0e19\u0e34\u0e22\u0e21\u0e17\u0e33\u0e15\u0e32\u0e23\u0e32\u0e07\u0e40\u0e1b\u0e47\u0e19 datatable \u0e0b\u0e36\u0e48\u0e07 datatable \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16 export excel \u0e2b\u0e23\u0e37\u0e2d pdf \u0e2b\u0e23\u0e37\u0e2d print \u0e40\u0e1b\u0e47\u0e19\u0e15\u0e49\u0e19 \u0e44\u0e14\u0e49 \u0e41\u0e15\u0e48\u0e43\u0e19\u0e01\u0e32\u0e23 export \u0e1e\u0e1a\u0e1b\u0e31\u0e0d\u0e2b\u0e32\u0e27\u0e48\u0e32\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e04\u0e25\u0e34\u0e01 export \u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e21\u0e32\u0e41\u0e25\u0e49\u0e27\u0e2b\u0e31\u0e27\u0e15\u0e32\u0e23\u0e32\u0e07 \u0e41\u0e2a\u0e14\u0e07\u0e40\u0e1e\u0e35\u0e22\u0e07 1 \u0e41\u0e16\u0e27 \u0e0b\u0e36\u0e48\u0e07\u0e43\u0e19\u0e2b\u0e19\u0e49\u0e32\u0e27\u0e34\u0e27 \u0e08\u0e30\u0e41\u0e2a\u0e14\u0e07\u0e40\u0e1b\u0e47\u0e19 3 \u0e41\u0e16\u0e27\u00a0 \u0e14\u0e31\u0e07\u0e20\u0e32\u0e1e\u0e17\u0e35\u0e48 1 \u0e41\u0e25\u0e30 2 \u00a0 \u0e20\u0e32\u0e1e\u0e17\u0e35\u0e48 1 \u0e2b\u0e19\u0e49\u0e32\u0e08\u0e2d\u0e01\u0e32\u0e23\u0e41\u0e2a\u0e14\u0e07\u0e1a\u0e19\u0e2b\u0e19\u0e49\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c \u0e20\u0e32\u0e1e\u0e17\u0e35\u0e48 2 \u0e44\u0e1f\u0e25\u0e4c excel \u0e17\u0e35\u0e48 &hellip;","_links":{"self":[{"href":"https:\/\/km.ict.buu.ac.th\/index.php?rest_route=\/wp\/v2\/posts\/12683"}],"collection":[{"href":"https:\/\/km.ict.buu.ac.th\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/km.ict.buu.ac.th\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/km.ict.buu.ac.th\/index.php?rest_route=\/wp\/v2\/users\/45"}],"replies":[{"embeddable":true,"href":"https:\/\/km.ict.buu.ac.th\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12683"}],"version-history":[{"count":19,"href":"https:\/\/km.ict.buu.ac.th\/index.php?rest_route=\/wp\/v2\/posts\/12683\/revisions"}],"predecessor-version":[{"id":12714,"href":"https:\/\/km.ict.buu.ac.th\/index.php?rest_route=\/wp\/v2\/posts\/12683\/revisions\/12714"}],"wp:attachment":[{"href":"https:\/\/km.ict.buu.ac.th\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12683"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/km.ict.buu.ac.th\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12683"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/km.ict.buu.ac.th\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12683"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}