﻿<?xml version="1.0" encoding="utf-8"?><rss 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:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - Item Retaining selection irrespective of row position</title><link>http://www.intersoftsolutions.com/Community/WebGrid/ItemRetainingSelection/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Item Retaining selection irrespective of row position</title><link>http://www.intersoftsolutions.com/Community/WebGrid/ItemRetainingSelection/</link><pubDate>Tue, 13 Sep 2011 03:27:47 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;In clientside, you can select a row by the key value. Perhaps, this can be used for your scenario.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;function SelectRow()
{     var grid = ISGetObject("WebGrid1");     
      var row = grid.RootTable.GetRowByKeyValue("VINET"); //get WebGridRow object by key value.      
      row.Select(); // select this row for focus
}
&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;Regards,&lt;br /&gt;Handy

&lt;p /&gt;</description></item><item><title>Item Retaining selection irrespective of row position</title><link>http://www.intersoftsolutions.com/Community/WebGrid/ItemRetainingSelection/</link><pubDate>Mon, 12 Sep 2011 03:16:56 GMT</pubDate><dc:creator>Skgrid@intersoftpt.com</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I have 1000's of records in the webgrid, how can I retain the item selection after performing any action.&lt;/p&gt;
&lt;p&gt;Scenario:&lt;/p&gt;
&lt;p&gt;I soreted the view with respect the lastupdateddatetime in ascending order (oldest first, latest last), if I select an (which is in 3rd row), and edits that item and saves it, as the view is on lastupdateddatetime, the record will jump to the last row, but the selection will retain on 3rd row itself.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;The second query is:&lt;/p&gt;
&lt;p&gt;Can I select an item based on some parameter, the value of the cell?&lt;/p&gt;
&lt;p&gt;Please sugges as soon as possible.&lt;/p&gt;

&lt;p&gt;Thanks in advance&lt;/p&gt;</description></item></channel></rss>