<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SaNNyX.Info</title>
	<atom:link href="http://www.sannyx.info/feed" rel="self" type="application/rss+xml" />
	<link>http://www.sannyx.info</link>
	<description>Web applications made easy</description>
	<lastBuildDate>Fri, 14 Oct 2011 06:48:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>CI Easy Flexgrid Table</title>
		<link>http://www.sannyx.info/ci-easy-flexgrid-table.html</link>
		<comments>http://www.sannyx.info/ci-easy-flexgrid-table.html#comments</comments>
		<pubDate>Thu, 13 Oct 2011 13:55:10 +0000</pubDate>
		<dc:creator>SaNNyX</dc:creator>
				<category><![CDATA[jQuery, JSON, CSS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[CI Easy Flexgrid Table]]></category>
		<category><![CDATA[Codeigniter]]></category>
		<category><![CDATA[easy flexgrid]]></category>

		<guid isPermaLink="false">http://127.0.0.1/wp.sannyx.info/?p=57</guid>
		<description><![CDATA[&#160; Download complete source code: here Controller: class Flexgrid extends CI_Controller { function __construct() { parent::__construct(); $this-&#62;load-&#62;model('flexgrid_model'); } function index() { $this-&#62;template-&#62;load("template", "flexgrid"); } function jsondata($toLoad = 'list', $page = null, $search = null) { switch ($toLoad) { case 'list': echo $this-&#62;flexgrid_model-&#62;getList($page, $search); break; default: echo 'No Record Found.'; } } } &#160; Model: class [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sannyx.info/wp-content/uploads/2011/10/CI-Easy-Flexgrid-Table-demo.png"><img class="aligncenter size-full wp-image-58" title="CI-Easy-Flexgrid-Table-demo" src="http://www.sannyx.info/wp-content/uploads/2011/10/CI-Easy-Flexgrid-Table-demo.png" alt="" width="618" height="496" /></a></p>
<p>&nbsp;</p>
<p>Download complete source code: <a href="http://www.sannyx.info/wp-content/uploads/2011/10/ciflexgrid-v1-sannyx.info_.zip">here</a></p>
<p>Controller:</p>
<pre class="brush:php">
class Flexgrid extends CI_Controller {

function __construct() {
parent::__construct();
$this-&gt;load-&gt;model('flexgrid_model');
}

function index() {
$this-&gt;template-&gt;load("template", "flexgrid");
}

function jsondata($toLoad = 'list', $page = null, $search = null) {
switch ($toLoad) {
case 'list':
echo $this-&gt;flexgrid_model-&gt;getList($page, $search);
break;
default:
echo 'No Record Found.';
}
}

}
</pre>
<p>&nbsp;</p>
<p>Model:</p>
<pre class="brush:php">
class Flexgrid_model extends CI_Model {

function __construct() {
parent::__construct();
$this-&gt;load-&gt;library("flex_table");
}

function SelectbyId($id) {
$this-&gt;db-&gt;where('id', $id);
return $this-&gt;db-&gt;get('signups');
}

function getList($page = null, $search = null) {
$sql = "Select users_id,user_fname,user_mname,user_lname,designation from acl_users
Where user_fname like '%$search%' OR user_lname like '%$search%'
order by user_fname ASC";
return $this-&gt;flex_table-&gt;getJSONRecord($sql, $search, $page, 10);
}

}
</pre>
<p>&nbsp;</p>
<p>View:</p>
<pre class="brush:html">

cellpadding="2" cellspacing="0" id="usersTbl" name="usersTbl"&gt;First NameMiddle NameLast NameDesignation
</pre>
<pre class="brush:javascript">
<script type="text/javascript">// <![CDATA[
    jQuery(document).ready( function(){
        // call function
        loadJsonData();		
    });
    function loadJsonData(){
        // get JSON data from this url
        var url = "<?= site_url('flexgrid/jsondata/list') ?>";
        /**
            @Description: parse JSON and display into tbody portion of the table
            @args: url as JSON data, table as target table, pager to 
                   display paging and search bar at the tfooter section
        */
        jQuery.pageCtrl.FlexTable({url:url,table:"usersTbl",pager:'on'});		
    }
// ]]&gt;</script>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.sannyx.info/ci-easy-flexgrid-table.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to retrieve hidden files and folders using attrib command</title>
		<link>http://www.sannyx.info/how-to-retrieve-hidden-files-and-folders-using-attrib-command.html</link>
		<comments>http://www.sannyx.info/how-to-retrieve-hidden-files-and-folders-using-attrib-command.html#comments</comments>
		<pubDate>Thu, 06 Oct 2011 04:09:15 +0000</pubDate>
		<dc:creator>SaNNyX</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[attrib]]></category>

		<guid isPermaLink="false">http://127.0.0.1/wordpress/?p=11</guid>
		<description><![CDATA[Some computer virus can hide you folders or files in your USB disk. This is the command. Using cmd.exe Add type this command:  [usb drive]:\ attrib -s -h /s /d]]></description>
			<content:encoded><![CDATA[<p>Some computer virus can hide you folders or files in your USB disk.</p>
<p>This is the command.</p>
<ol>
<li>Using cmd.exe</li>
<li>Add type this command:  [usb drive]:\ attrib -s -h /s /d</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.sannyx.info/how-to-retrieve-hidden-files-and-folders-using-attrib-command.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery Inline AJAX ComboPageLoader</title>
		<link>http://www.sannyx.info/jquery-inline-ajax-combopageloader.html</link>
		<comments>http://www.sannyx.info/jquery-inline-ajax-combopageloader.html#comments</comments>
		<pubDate>Wed, 24 Aug 2011 05:52:27 +0000</pubDate>
		<dc:creator>SaNNyX</dc:creator>
				<category><![CDATA[jQuery, JSON, CSS]]></category>
		<category><![CDATA[ComboPageLoader]]></category>
		<category><![CDATA[jquery.pagectrl.js]]></category>
		<category><![CDATA[JSON]]></category>

		<guid isPermaLink="false">http://127.0.0.1/wordpress/?p=1</guid>
		<description><![CDATA[This jQuery plug-in used to simplified the ambitious loading of AJAX links. See sample usage: Add &#124; Edit &#124; Delete jQuery(document).ready( function(){ jQuery("[class*=loadable]").ComboPageLoader({ // function is called if confirmed callable:[ { asset:"delete",callback:function({loadChartAccounts();} } ] }); }) This jQuery plugin is part of jquery.pagectrl.js in CI Easy Flexgrid Table Dependencies: jQuery, jQuery UI, jQuery facebox plugin]]></description>
			<content:encoded><![CDATA[<p>This jQuery plug-in used to simplified the ambitious loading of AJAX links. See sample usage:</p>
<pre class="brush:html">
        <a class='btn loadable[{"hasId":"no","target":"#detailsTab","alert":"","jUITabs":["#tabs","2","#tab-actions"],"confirm":""}]'
           title="Add New {ctrlname}" href="{siteurl_index}{ctrl}/add2/">Add</a>
        |
        <a class='btn loadable[{"hasId":"yes","target":"#detailsTab","alert":"Please select record to edit.","jUITabs":["#tabs","2","#tab-actions"],"confirm":""}]'
           title="Edit {ctrlname}" href="{siteurl_index}{ctrl}/edit2/">Edit</a>
        |
        <a class='btn loadable[{"hasId":"yes","target":"alert","alert":"Please select record to delete.","jUITabs":[""],"call":"delete","confirm":"Are you sure you want to delete this record?"}]'
           title="Delete {ctrlname}" href="{siteurl_index}{ctrl}/delete/class/">Delete</a>
</pre>
<pre class="brush:javascript">
<script  type="text/javascript">
jQuery(document).ready( function(){
       jQuery("[class*=loadable]").ComboPageLoader({
             // function is called if confirmed
             callable:[ { asset:"delete",callback:function({loadChartAccounts();} } ] 
        });
})
</script>
</pre>
<p></p>
<p>This jQuery plugin is part of <a href="http://www.sannyx.info/wp-content/uploads/2011/10/jquery.pagectrl.js">jquery.pagectrl.js</a> in <a href="http://www.sannyx.info/?p=57" title="CI Easy Flexgrid Table">CI Easy Flexgrid Table</a></p>
<p>Dependencies:<br />
jQuery, jQuery UI, jQuery facebox plugin</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sannyx.info/jquery-inline-ajax-combopageloader.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

