[CLOSED] Focus removing on Grid

  1. #1

    [CLOSED] Focus removing on Grid

    Hi,
    I'm using gridpanel which has row selection. when i select a row the selected row record value is taken and its works fine but when i click new button in toolbar i want to clear the focus of grid row selection .. i need this urgent...
    <ext:GridPanel ID="GrdPnl1" Height="505" TrackMouseOver="true" AutoScroll="true" runat="server" StoreID="Store1">
    <ColumnModel> </ColumnModel>
    <SelectionModel>
    <ext:RowSelectionModel ID="RowSelectionModel1" runat="server" SingleSelect="true">
    <Listeners>
    <RowSelect Handler="b(GrdPnl1,rowIndex,b)" /> 
    </Listeners>
    </ext:RowSelectionModel> 
    </SelectionModel>
    </ext:GridPanel>
    <script type="text/javascript">
    function b(value, meta, record) {
    var LV_User = GrdPnl1.getSelectionModel().getSelections();
    &#100;ocument.getElementById("H_Btn_User").value = LV_User;
    Coolite.AjaxMethods.bindUser();
    }
    </script>
    i use like this... plz help in this how to remove focus on new button click...
  2. #2

    RE: [CLOSED] Focus removing on Grid

    Hi,

    What about clearSelections
    GrdPnl1.getSelectionModel().clearSelections();
    *

Similar Threads

  1. [CLOSED] Grid Focus
    By softmachine2011 in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Mar 05, 2012, 2:58 PM
  2. Replies: 1
    Last Post: Jul 21, 2011, 5:38 PM
  3. [CLOSED] grid row focus
    By speedstepmem4 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 12, 2009, 1:18 PM
  4. [CLOSED] Grid adding removing columns in codebehind
    By methode in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Feb 24, 2009, 2:51 AM
  5. [CLOSED] Focus on first row in grid?
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 14
    Last Post: Dec 18, 2008, 7:12 AM

Posting Permissions