<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: question about the select menu in the edit section</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/question-about-the-select-menu-in-the-edit-section</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/help/question-about-the-select-menu-in-the-edit-section/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>DeaDSouL on question about the select menu in the edit section</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/question-about-the-select-menu-in-the-edit-section#p1839</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/question-about-the-select-menu-in-the-edit-section#p1839</guid>
        	        	<description><![CDATA[<p>Loool guys..</p>
<p>it was my mistak.. all the rows was stroed with the -1.. and i thought there was something wrong with the jqgrid..</p>
</p>
<p>thanks a lot guys... 😀</p>
]]></description>
        	        	<pubDate>Mon, 01 Sep 2008 11:47:52 +0300</pubDate>
        </item>
        <item>
        	<title>DeaDSouL on question about the select menu in the edit section</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/question-about-the-select-menu-in-the-edit-section#p1838</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/question-about-the-select-menu-in-the-edit-section#p1838</guid>
        	        	<description><![CDATA[<p>I wrote my codes but I don&#39;t know why it didn&#39;t appeare...</p>
]]></description>
        	        	<pubDate>Mon, 01 Sep 2008 11:41:42 +0300</pubDate>
        </item>
        <item>
        	<title>DeaDSouL on question about the select menu in the edit section</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/question-about-the-select-menu-in-the-edit-section#p1837</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/question-about-the-select-menu-in-the-edit-section#p1837</guid>
        	        	<description><![CDATA[<p>Hi guys..</p>
<p>let me try to explain with my source..</p>
<p><strong>This is my html code:</strong></p>
<p><strong><br /></strong><em>[CODE]&#60;script type=&#8221;text/javascript&#8221;&#62;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; var dsPathJS = &#39;{dsDir.0}{dsCONF.DIR.JAVA}/grid/&#39;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; jqGridInclude(dsPathJS);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; jQuery(document).ready(function(){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; jQuery(&#8221;#dsTable&#8221;).jqGrid({<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; colNames:[<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;ID&#39;, <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.FULL_NAME} ({dsLANG.ARABIC})&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.FULL_NAME} ({dsLANG.ENGLISH})&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.SEX}&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.FILE_NO}&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.REF_NO}&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.SALARY}&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.CONTRACT}&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.PASSPORT_NO}&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.PLACE_OF_ISSUE} ({dsLANG.ARABIC})&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.PLACE_OF_ISSUE} ({dsLANG.ENGLISH})&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.DATE_OF_ISSUE}&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.DATE_OF_EXPIRE}&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.NATIONALITY}&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.RELIGION}&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.OCCUPATION}&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.BIRTH_PLACE} ({dsLANG.ARABIC})&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.BIRTH_PLACE} ({dsLANG.ENGLISH})&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.BIRTH_DATE}&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.MARITAL_STATUS}&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.CHILDREN}&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.HEIGHT}&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.WEIGHT}&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.EDU_QUALIFICATION} ({dsLANG.ARABIC})&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.EDU_QUALIFICATION} ({dsLANG.ENGLISH})&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.KNOWLEDGE_OF_ARABIC}&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.KNOWLEDGE_OF_ENGLISH}&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.EXPERIENCE}&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.COUNTRIES_OF_WORK_B4} ({dsLANG.ARABIC})&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.COUNTRIES_OF_WORK_B4} ({dsLANG.ENGLISH})&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.SKILLS}&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.ADDITIONAL_DATAS} ({dsLANG.ARABIC})&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;{dsLANG.ADDITIONAL_DATAS} ({dsLANG.ENGLISH})&#39;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {dsSkillsColNames}<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; ],<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; colModel:[<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;ID&#39;,index:&#39;ID&#39;, width:40,editable:false,editoptions:{readonly:true,size:10}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;arName&#39;,index:&#39;arName&#39;, width:135,editable:true,editoptions:{size:36}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;enName&#39;,index:&#39;enName&#39;, width:140,editable:true,editoptions:{size:36}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;Sex&#39;,index:&#39;Sex&#39;, width:70, editable: true,edittype:"select",editoptions:{value:"{dsSelect.Sex}"}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;fileNo&#39;,index:&#39;fileNo&#39;, width:100,editable:true,editoptions:{size:36}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;refNo&#39;,index:&#39;refNo&#39;, width:100,editable:true,editoptions:{size:36}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;Salary&#39;,index:&#39;Salary&#39;, width:60,editable:true,editoptions:{size:36}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;Contract&#39;,index:&#39;Contract&#39;, width:65,editable:true,editoptions:{size:36}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;passportNo&#39;,index:&#39;passportNo&#39;, width:110,editable:true,editoptions:{size:36}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;arIssuePlace&#39;,index:&#39;arIssuePlace&#39;, width:155,editable:true,editoptions:{size:36}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;enIssuePlace&#39;,index:&#39;enIssuePlace&#39;, width:165,editable:true,editoptions:{size:36}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;issueDate&#39;,index:&#39;issueDate&#39;, width:100,editable:true,editoptions:{size:36},sorttype:"date"},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;issueExpiry&#39;,index:&#39;issueExpiry&#39;, width:105,editable:true,editoptions:{size:36},sorttype:"date"},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;Nationality&#39;,index:&#39;Nationality&#39;, width:110, editable: true,edittype:"select",editoptions:{value:"{dsSelect.Nationality}"}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;Religion&#39;,index:&#39;Religion&#39;, width:80, editable: true,edittype:"select",editoptions:{value:"{dsSelect.Religion}"}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;Occupation&#39;,index:&#39;Occupation&#39;, width:100, editable: true,edittype:"select",editoptions:{value:"{dsSelect.Occupation}"}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;arBirthPlace&#39;,index:&#39;arBirthPlace&#39;, width:160,editable:true,edittype:"text",editoptions:{size:36}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;enBirthPlace&#39;,index:&#39;enBirthPlace&#39;, width:160,editable:true,edittype:"text",editoptions:{size:36}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;birthDate&#39;,index:&#39;birthDate&#39;, width:100,editable:true,editoptions:{size:36},sorttype:"date"},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;Status&#39;,index:&#39;Status&#39;, width:100, editable: true,edittype:"select",editoptions:{value:"{dsSelect.Status}"}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;Children&#39;,index:&#39;Children&#39;, width:70,editable:true,editoptions:{size:36}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;Height&#39;,index:&#39;Height&#39;, width:55,editable:true,editoptions:{size:36}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;Weight&#39;,index:&#39;Weight&#39;, width:55,editable:true,editoptions:{size:36}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;arEducation&#39;,index:&#39;arEducation&#39;, width:230,editable:true,editoptions:{size:36}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;enEducation&#39;,index:&#39;enEducation&#39;, width:235,editable:true,editoptions:{size:36}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;Arabic&#39;,index:&#39;Arabic&#39;, width:150, editable: true,edittype:"select",editoptions:{value:"{dsSelect.Knowledge}"}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;English&#39;,index:&#39;English&#39;, width:155, editable: true,edittype:"select",editoptions:{value:"{dsSelect.Knowledge}"}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;Experience&#39;,index:&#39;Experience&#39;, width:80,editable:true,editoptions:{size:36}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;arExpCountries&#39;,index:&#39;arExpCountries&#39;, width:230, sortable:false,editable: true,edittype:"textarea", editoptions:{rows:"5",cols:"35"}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;enExpCountries&#39;,index:&#39;enExpCountries&#39;, width:235, sortable:false,editable: true,edittype:"textarea", editoptions:{rows:"5",cols:"35"}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;Skills&#39;,index:&#39;Skills&#39;, width:200,editable:false,editoptions:{size:36}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;arDetails&#39;,index:&#39;arDetails&#39;, width:180, sortable:false,editable: true,edittype:"textarea", editoptions:{rows:"5",cols:"35"}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;enDetails&#39;,index:&#39;enDetails&#39;, width:180, sortable:false,editable: true,edittype:"textarea", editoptions:{rows:"5",cols:"35"}}<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {dsSkillsColModel}<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; ],<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; url:&#39;?dsOption=show&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; editurl:&#8221;?dsOption=modify&#8221;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; datatype: &#8220;json&#8221;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; mtype: &#39;POST&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; rowNum:10,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; rowList:[5,10,15,20,25,50],<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; pager: jQuery(&#39;#dsBar&#39;),<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; imgpath: dsPathJS+&#39;themes/basic/images&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sortname: &#39;ID&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sortorder: &#8220;desc&#8221;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; recordtext: &#8220;Rows&#8221;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; caption:&#8221;{dsLANG.LIST_EMPLOYEES}&#8221;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; multiselect:false,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; loadtext: &#8220;{dsLANG.AJAX_LOADING}&#8221;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; height:&#39;190&#39;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }).navGrid(&#39;#dsBar&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {edit:false,add:false,del:false}, //options<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; top:10,left:100,height:400,width:500,reloadAfterSubmit:false,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; onInitializeForm: function(formid) {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $(&#8221;#birthDate&#8221;,formid).datepicker({dateFormat:&#8221;dd{dsCONF.SET.DSEP}mm{dsCONF.SET.DSEP}yy&#8221;});<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $(&#8221;#issueDate&#8221;,formid).datepicker({dateFormat:&#8221;dd{dsCONF.SET.DSEP}mm{dsCONF.SET.DSEP}yy&#8221;});<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $(&#8221;#issueExpiry&#8221;,formid).datepicker({dateFormat:&#8221;dd{dsCONF.SET.DSEP}mm{dsCONF.SET.DSEP}yy&#8221;});<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }, // edit options<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; top:10,left:100,height:400,width:500,reloadAfterSubmit:true,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; onInitializeForm: function(formid) {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $(&#8221;#issueDate&#8221;,formid).datepicker({dateFormat:&#8221;dd{dsCONF.SET.DSEP}mm{dsCONF.SET.DSEP}yy&#8221;});<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $(&#8221;#issueExpiry&#8221;,formid).datepicker({dateFormat:&#8221;dd{dsCONF.SET.DSEP}mm{dsCONF.SET.DSEP}yy&#8221;});<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $(&#8221;#birthDate&#8221;,formid).datepicker({dateFormat:&#8221;dd{dsCONF.SET.DSEP}mm{dsCONF.SET.DSEP}yy&#8221;});<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }, // add options<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {reloadAfterSubmit:false}, // del options<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {} // search options<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; );<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $(&#8221;#dsEditEmployee&#8221;).click(function(){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; var gr = jQuery(&#8221;#dsTable&#8221;).getGridParam(&#39;selrow&#39;);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; if( gr != null ) jQuery(&#8221;#dsTable&#8221;).editGridRow(gr,{<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; top:10,left:100,height:400,width:500,reloadAfterSubmit:false,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; onInitializeForm: function(formid) {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $(&#8221;#birthDate&#8221;,formid).datepicker({dateFormat:&#8221;dd{dsCONF.SET.DSEP}mm{dsCONF.SET.DSEP}yy&#8221;});<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $(&#8221;#issueDate&#8221;,formid).datepicker({dateFormat:&#8221;dd{dsCONF.SET.DSEP}mm{dsCONF.SET.DSEP}yy&#8221;});<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $(&#8221;#issueExpiry&#8221;,formid).datepicker({dateFormat:&#8221;dd{dsCONF.SET.DSEP}mm{dsCONF.SET.DSEP}yy&#8221;});<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; });<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; else alert(&#8221;Please Select Row&#8221;);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; });<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $(&#8221;#dsAddEmployee&#8221;).click(function(){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; jQuery(&#8221;#dsTable&#8221;).editGridRow(&#8221;new&#8221;,{<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; top:10,left:100,height:400,width:500,reloadAfterSubmit:true,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; onInitializeForm: function(formid) {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $(&#8221;#issueDate&#8221;,formid).datepicker({dateFormat:&#8221;dd{dsCONF.SET.DSEP}mm{dsCONF.SET.DSEP}yy&#8221;});<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $(&#8221;#issueExpiry&#8221;,formid).datepicker({dateFormat:&#8221;dd{dsCONF.SET.DSEP}mm{dsCONF.SET.DSEP}yy&#8221;});<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $(&#8221;#birthDate&#8221;,formid).datepicker({dateFormat:&#8221;dd{dsCONF.SET.DSEP}mm{dsCONF.SET.DSEP}yy&#8221;});<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; });<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; });<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $(&#8221;#dsDeleteEmployee&#8221;).click(function(){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; //IDs in array<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; //var dsEmpID = jQuery(&#8221;#dsTable&#8221;).getGridParam(&#39;selarrrow&#39;);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; //just one ID<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; var dsEmpID = jQuery(&#8221;#dsTable&#8221;).getGridParam(&#39;selrow&#39;);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; //getSelectedRow();<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; if( dsEmpID != null ) jQuery(&#8221;#dsTable&#8221;).delGridRow(dsEmpID,{reloadAfterSubmit:false});<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; else alert(&#8221;Please Select Row to delete!&#8221;);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; });<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; jQuery(&#8221;#dsImagesEmployee&#8221;).click( function() {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; var dsEmpID = jQuery(&#8221;#dsTable&#8221;).getGridParam(&#39;selrow&#39;);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; open_url(&#39;?dsOption=images&#38;id=&#39;+dsEmpID,&#39;dsAjaxImages&#39;);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; });<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#60;/script&#62;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#60;div dir=&#8221;ltr&#8221; style=&#8221;margin:0;padding:0;width:100%;overflow:auto;border:0px solid #222;&#8221;&#62;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#60;table id=&#8221;dsTable&#8221; class=&#8221;scroll&#8221; cellpadding=&#8221;0&#8243; cellspacing=&#8221;0&#8243; style=&#8221;margin:0;padding:0;max-height:250px&#8221;&#62;&#60;/table&#62;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#60;/div&#62;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#60;div dir=&#8221;ltr&#8221; style=&#8221;margin-top:2px;height:21px;width:350px;display:block;overflow:hidden;border:1px solid #259EBF;&#8221;&#62;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#60;div id=&#8221;dsBar&#8221; class=&#8221;scroll&#8221; style=&#8221;text-align:left;&#8221;&#62;&#60;/div&#62;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#60;/div&#62;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#60;div id=&#8221;dsAjaxImages&#8221; style=&#8221;margin:30px 10px 30px 10px;&#8221;&#62;&#60;/div&#62;[/CODE]</em></p>
</p>
<p><strong>and this is my php code:</strong> <strong>(the viewing page (grid))</strong><br /><em>[PHP]&#60;?php<br />&#160;&#160;&#160; &#160;&#160;&#160; Function dsGridSelect($dsAttArr=Array(),$dsAttVar=&#39;&#39;) {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; If(Empty($dsAttArr)&#124;&#124;!$dsAttArr&#124;&#124;!Is_Array($dsAttArr)&#124;&#124;Empty($dsAttVar)&#124;&#124;!$dsAttVar&#124;&#124;!Array_Key_Exists($dsAttVar,$dsAttArr)) Return False;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $dsReturn = &#8220;-1:;&#8221;;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; ForEach($dsAttArr[$dsAttVar] As $dsID =&#62; $dsVal) {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $dsReturn .= $dsID.&#39;:&#39;.$dsVal.&#39;;&#39;;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $dsReturn = substr($dsReturn,0,strlen($dsReturn)-1);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; Return $dsReturn;<br />&#160;&#160;&#160; &#160;&#160;&#160; }</em></p>
<p>&#160;&#160;&#160; &#160;&#160;&#160; $dsArEnVal = $dsLANG[&#39;AR_EN&#39;].&#39;Value&#39;;<br />&#160;&#160;&#160; &#160;&#160;&#160; $SQL = &#8220;SELECT ID,Variable,$dsArEnVal FROM &#8220;.$dsCONF[&#39;SQL&#39;][&#39;PRFX&#39;].&#8221;dsValues ORDER BY ID&#8221;;<br />&#160;&#160;&#160; &#160;&#160;&#160; $dsAttSQL = $ds-&#62;dsSQL-&#62;upQuery($SQL) or Die(&#8221;Couldn t execute query.&#8221;.mysql_error());<br />&#160;&#160;&#160; &#160;&#160;&#160; $dsAttVal = Array();<br />&#160;&#160;&#160; &#160;&#160;&#160; While($dsRow = $ds-&#62;dsSQL-&#62;upFetchObject($dsAttSQL)) {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $dsAttVal[$dsRow-&#62;Variable][$dsRow-&#62;ID] = trim(stripslashes($dsRow-&#62;$dsArEnVal));<br />&#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; $ds-&#62;dsSQL-&#62;upFreeResult();<br />&#160;&#160;&#160; &#160;&#160;&#160; $SQL=$dsAttSQL=$dsRow=&#39;&#39;;<br />&#160;&#160;&#160; &#160;&#160;&#160; $dsSelect = Array(<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;Sex&#39;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; =&#62; $ds-&#62;dsFunc-&#62;dsGridSelect($dsAttVal,&#39;Sex&#39;),<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;Status&#39;&#160;&#160;&#160;&#160;&#160; =&#62; $ds-&#62;dsFunc-&#62;dsGridSelect($dsAttVal,&#39;Status&#39;),<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;Knowledge&#39;&#160;&#160; =&#62; $ds-&#62;dsFunc-&#62;dsGridSelect($dsAttVal,&#39;Knowledge&#39;),<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;Religion&#39;&#160;&#160;&#160; =&#62; $ds-&#62;dsFunc-&#62;dsGridSelect($dsAttVal,&#39;Religion&#39;),<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;Nationality&#39; =&#62; $ds-&#62;dsFunc-&#62;dsGridSelect($dsAttVal,&#39;Nationality&#39;),<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;Occupation&#39;&#160; =&#62; $ds-&#62;dsFunc-&#62;dsGridSelect($dsAttVal,&#39;Occupation&#39;)<br />&#160;&#160;&#160; &#160;&#160;&#160; );<br />&#160;&#160;&#160; &#160;&#160;&#160; $dsSkillsColNames=$dsSkillsColModel=&#39;&#39;;<br />&#160;&#160;&#160; &#160;&#160;&#160; ForEach($dsAttVal[&#39;Skills&#39;] As $dsID =&#62; $dsVal) {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $dsSkillsColNames .= &#8220;,&#39;$dsVal&#39;&#8221;;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $dsCleanVal = &#39;Skills_&#39;.str_replace(&#39; &#39;,&#39;_&#39;,str_replace(&#39;-&#39;,&#39;_&#39;,str_replace(&#39;.&#39;,&#39;_&#39;,$dsVal)));<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $dsSkillsColModel .= &#8220;,{name:&#39;$dsCleanVal&#39;, index:&#39;$dsCleanVal&#39;, editable:true, edittype:\\&#8221;checkbox\\&#8221;, editoptions:{value:\\&#8221;Yes:No\\&#8221;}, hidden:true, editrules:{edithidden:true} }&#8221;;<br />&#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; Die($ds-&#62;dsFunc-&#62;dsOutPut(&#39;employee_list.html&#39;));<br />?&#62;[/PHP]</p>
<p>they are working just fine.. but when i click on edit the row from the tool bar (<em>dsBar</em>) it shows the editable inputs with their values.. but the select menu. it shows all the options without the default selected option..</p>
<p>i just wonder how can i make it select the selected option in the select menu</p>
<p>I hope I could explain well..</p>
<p>Thanks a lot for your helping guys <img class="wp-smiley" src="/blog/wp-includes/images/smilies/icon_smile.gif" alt=":)" /></p>
]]></description>
        	        	<pubDate>Mon, 01 Sep 2008 11:38:46 +0300</pubDate>
        </item>
        <item>
        	<title>tony on question about the select menu in the edit section</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/question-about-the-select-menu-in-the-edit-section#p1827</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/question-about-the-select-menu-in-the-edit-section#p1827</guid>
        	        	<description><![CDATA[<p>Try this</p>
<p><strong>{value:&#8221;&#39;1&#39;:male;&#39;2&#39;:female&#8221;}</strong></p>
]]></description>
        	        	<pubDate>Mon, 01 Sep 2008 03:38:51 +0300</pubDate>
        </item>
        <item>
        	<title>garnett21 on question about the select menu in the edit section</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/question-about-the-select-menu-in-the-edit-section#p1825</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/question-about-the-select-menu-in-the-edit-section#p1825</guid>
        	        	<description><![CDATA[<p>if you store in your databas thing such as "male" or "female" and give jqGrid</p>
<p>select value "<strong>{value:&#8221;1:male;2:female&#8221;}</strong>," i don&#39;t think it will work. You have to give <strong>{value:&#8221;male:male;female:female&#8221;}</strong> as select value if you want it work.</p>
<p>The first item of each values of your jqGrid select must match with the value stores in your database.,</p>
]]></description>
        	        	<pubDate>Mon, 01 Sep 2008 00:56:23 +0300</pubDate>
        </item>
        <item>
        	<title>DeaDSouL on question about the select menu in the edit section</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/question-about-the-select-menu-in-the-edit-section#p1823</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/question-about-the-select-menu-in-the-edit-section#p1823</guid>
        	        	<description><![CDATA[<p>hi garnett21,</p>
<p>Well, I can show the selected values in the grid. but my question was,</p>
<p>when I click on edit the row. it gives me the available editable inputs and when it comes to the select menu. it shows the first option as selected option instead of the real selected option which has been stored in the database.<br />So, how can I let it shows the selected option in the edit pop-up form ?</p>
<p>I hope you understand what I was trying to say..</p>
<p>thanks a lot.</p></p>
]]></description>
        	        	<pubDate>Sun, 31 Aug 2008 16:36:57 +0300</pubDate>
        </item>
        <item>
        	<title>garnett21 on question about the select menu in the edit section</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/question-about-the-select-menu-in-the-edit-section#p1821</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/question-about-the-select-menu-in-the-edit-section#p1821</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>try to set your rows like</p>
<p>1, Jet Li, <strong>1</strong><br />2, Nicole Kidman, <strong>2</strong></p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Sun, 31 Aug 2008 11:19:41 +0300</pubDate>
        </item>
        <item>
        	<title>DeaDSouL on question about the select menu in the edit section</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/question-about-the-select-menu-in-the-edit-section#p1819</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/question-about-the-select-menu-in-the-edit-section#p1819</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>If I have 2 rows, each one of them contains id,name,sex<br /><em>name = text input<br />sex = select menu (male, female)</em></p>
<p><strong>the rows:</strong><br />1, Jet Li, male<br />2, Nicole Kidman, female</p>
<p>now if I click on edit the second row it will show the editable inputs with the default option of the select menu which is male, while it is not, it is female "Nicole Kidman"... how can I make it read the selected option to view it in the edit page?</p>
<p><strong>my code</strong><br />{name:&#39;Sex&#39;,index:&#39;Sex&#39;, width:70, editable: true,edittype:"select",editoptions:<strong>{value:"1:male;2:female"}</strong>,</p>
<p>is there anyway to change the previous bold text to let it read the selected option and make it as default then show the other options?<br />or at least make it select <em>(in the edit page)</em> the selected option <em>(which was in the view page)</em>?</p>
<p>thanks a lot 🙂</p>
]]></description>
        	        	<pubDate>Sun, 31 Aug 2008 10:34:25 +0300</pubDate>
        </item>
</channel>
</rss>