<?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: Dialog screen location relative to current view?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/dialog-screen-location-relative-to-current-view</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/dialog-screen-location-relative-to-current-view/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>simrat on Dialog screen location relative to current view?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/dialog-screen-location-relative-to-current-view#p29059</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/dialog-screen-location-relative-to-current-view#p29059</guid>
        	        	<description><![CDATA[<p>I am facing the same problem of positioning of the update confirmation box/ delete confirmation box/ No row selected error box/ edit modal popup/ add modal popup etc to the center of the screen ..... I have looked a lot but could not find any helpful answers ..... can you please suggest that what can be done to achieve this result.</p>
]]></description>
        	        	<pubDate>Tue, 25 Jun 2013 07:33:36 +0300</pubDate>
        </item>
        <item>
        	<title>Shift4SMS on Dialog screen location relative to current view?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/dialog-screen-location-relative-to-current-view#p21912</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/dialog-screen-location-relative-to-current-view#p21912</guid>
        	        	<description><![CDATA[<p>Is there any way to specify or adjust the location of the various dialogs (edit, add, &#38; delete) to the current view as opposed to the top of the grid location&#160;or absolute window location? If a grid&#160;displays with 100 rows and the user scrolls down and (by whatever means) decides to edit, add or delete a row, the user must then scroll up to view the standard dialog associated with the action.</p>
<p>A simple way to describe my issue is via example. Create a grid named #grid with 100 rows. Add the following:</p>
<p>&#160;&#160;function bodyOnLoad() {<br />&#160;&#160;&#160;$(document).keyup(function(event) {<br />&#160;&#160;&#160;&#160;if (event.keyCode == "46") {<br />&#160;&#160;&#160;&#160;&#160;if (confirm("Continue with delete dialog?"))<br />&#160;&#160;&#160;&#160;&#160;&#160;$("#del_grid").click();<br />&#160;&#160;&#160;&#160;&#160;event.preventDefault();<br />&#160;&#160;&#160;&#160;}<br />&#160;&#160;&#160;});<br />&#160;&#160;}</p>
<p>&#160;&#160;if (jQuery.browser.safari) {<br />&#160;&#160;&#160;jQuery(window).ready(bodyOnLoad);<br />&#160;&#160;} else {<br />&#160;&#160;&#160;jQuery(window).load(bodyOnLoad);<br />&#160;&#160;}</p>
<p>Display the grid, scroll to the bottom and select the last row. Press the delete key. You&#39;ll first get a standard browser confirmation dialog centered on the screen. Selecting YES will trigger the jqGrid delete confirmation dialog -- but you&#39;ll have to scroll up to view it. Is there any way to correct this behavior by centering the jqDialog to the screen?</p>
<p>I know it&#39;s probably easy but my google searches are not productive probably because my terminology is wrong. Thanks in advance.</p>
]]></description>
        	        	<pubDate>Tue, 01 Feb 2011 23:36:17 +0200</pubDate>
        </item>
</channel>
</rss>