{"id":493,"date":"2018-04-22T10:09:20","date_gmt":"2018-04-22T14:09:20","guid":{"rendered":"http:\/\/salzlechner.com\/dev\/?p=493"},"modified":"2018-04-22T10:13:58","modified_gmt":"2018-04-22T14:13:58","slug":"webapp-custom-controls-pager","status":"publish","type":"post","link":"http:\/\/salzlechner.com\/dev\/2018\/04\/22\/webapp-custom-controls-pager\/","title":{"rendered":"WebApp Custom Controls &#8211; Pager"},"content":{"rendered":"<p>This control has its origin in the need for a pager in our grid and list classes but of course it can also be used as a standalone control.<\/p>\n<p>It is created as a standalone Javascript control with a Javascript wrapper for DataFlex WebApp so it can be used with DataFlex WebApp as well as with any other Javascript framework.<\/p>\n<h2>Styling<\/h2>\n<p>It\u00a0can be fully styled using CSS Styles.<\/p>\n<p>Here is a simple screenshot of the sample program showing different styles<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-494\" src=\"http:\/\/salzlechner.com\/dev\/wp-content\/uploads\/sites\/2\/2018\/04\/pager.png\" alt=\"pager\" width=\"686\" height=\"316\" srcset=\"http:\/\/salzlechner.com\/dev\/wp-content\/uploads\/sites\/2\/2018\/04\/pager.png 686w, http:\/\/salzlechner.com\/dev\/wp-content\/uploads\/sites\/2\/2018\/04\/pager-300x138.png 300w\" sizes=\"(max-width: 686px) 100vw, 686px\" \/><\/p>\n<p>The pager can be configured using the following code<\/p>\n<pre class=\"lang:default decode:true\">\/\/ \r\n\/\/ configure the pager with page count, current page and start page \r\n\r\nSend RebuildPager iPageCount iCurrentPage iStartPage<\/pre>\n<p>the control also has methods such as\u00a0<em>GotoFirstPage<\/em>,\u00a0<em>GotoLastPage<\/em>,\u00a0<em>GotoNextPage<\/em>,\u00a0<em>GotoPrevPage<\/em> and\u00a0<em>GotoPage<\/em>.<\/p>\n<p>in addition the control has events such as\u00a0<em>OnPageChange<\/em>.<\/p>\n<p>this control as well as many more are available from StarZen Technologies, Inc.<\/p>\n\n\t\t<div class='author-shortcodes'>\n\t\t\t<div class='author-inner'>\n\t\t\t\t<div class='author-image'>\n\t\t\t<img src='http:\/\/salzlechner.com\/dev\/wp-content\/uploads\/sites\/2\/2016\/02\/mike5crop-566174_60x60.jpg' alt='' \/>\n\t\t\t<div class='author-overlay'><\/div>\n\t\t<\/div> \n\t\t<div class='author-info'>\n\t\t\tMichael Salzlechner is the CEO of StarZen Technologies, Inc.<\/p>\n<p>He was part of the Windows Team at Data Access Worldwide that created the DataFlex for Windows Product before joining\u00a0<a href=\"http:\/\/starzen.com\">StarZen Technologies<\/a>. StarZen Technologies provides consulting services as well as custom Application development and third party products specifically for DataFlex developers<\/p>\n\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This control has its origin in the need for a pager in our grid and list classes but of course it can also be used as a standalone control. It is created as a standalone Javascript control with a Javascript wrapper for DataFlex WebApp so it can be used with DataFlex WebApp as well as [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","ngg_post_thumbnail":0,"footnotes":""},"categories":[6,27],"tags":[],"class_list":["post-493","post","type-post","status-publish","format-standard","hentry","category-dataflex","category-dataflex-webapp"],"_links":{"self":[{"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/posts\/493","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/comments?post=493"}],"version-history":[{"count":4,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/posts\/493\/revisions"}],"predecessor-version":[{"id":498,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/posts\/493\/revisions\/498"}],"wp:attachment":[{"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/media?parent=493"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/categories?post=493"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/tags?post=493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}