Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6729205
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:15:42+00:00 2026-05-26T10:15:42+00:00

I know this question has been handeled in similar situations, regarding ASP.Net, before. But

  • 0

I know this question has been handeled in similar situations, regarding ASP.Net, before.
But as I did not understand the contexts and as those answers did not match to my Ext.Net component, I need to ask again.

In my case, I have an entity framework connect through my LinqDataSource.
I have a GridPanel which has a Store including a JsonReader, in addition to that the GridPanel has a Selection model with the following code:

            <SelectionModel>
            <ext:RowSelectionModel ID="RowSelectionModel1" runat="server" SingleSelect="true">
                 <Listeners>
                    <RowSelect Handler="#{EditPanel}.getForm().loadRecord(record);#{UserForm}.record = record;" />
                </Listeners>
            </ext:RowSelectionModel> 
        </SelectionModel>   

First question is, what does the RowSelect Handler do, or let’s better say can someone please explain me that line?
I copied that line from the example on the ext.net page and it gives me all the values from the selected row to my EditPanel, but I’m really not sure how that works.

My Second question is, I have 9 columns in my GridPanel which represent the Data from my Entity Framework. How can I get the data from the first column on the selected row?

Thanks in advance!

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T10:15:42+00:00Added an answer on May 26, 2026 at 10:15 am

    This code:

    #{EditPanel}.getForm().loadRecord(record);
    

    initializes fields of your FormPanel by values in record.

    Some details you can look here: http://docs.sencha.com/ext-js/3-4/#!/api/Ext.form.BasicForm-method-loadRecord

    This is very useful if you want to set form values automaticaly by values from some store. For example, you have a store with loaded values and you want to display detail information about records.

    This code:

    #{UserForm}.record = record;
    

    sets ‘record’ field of ‘UserForm’ by selected record. In Ext.NET I don’t think this have some purpose, but in application logic maybe useful.


    And a answer to the second question:

    {GridID}.selModel.getSelected().data.Id // Instead of ‘Id’ you can place any field name of record, because #{GridID}.selModel.getSelected() returns selected record.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know this question has been asked before, but non of the solutions solve
I know this question has been posted before... but I haven't found any answer
I know this question has been asked before, but I haven't been able to
I know this question has been asked before, but I tried eveything and can't
I know this question has been asked before, but no one has given any
I know this question has been asked before, but none of the answers in
I know this question has been asked here a few times before. But i
I know this question has been asked so many times before. But I just
I know this question has been answered before in this thread , but I
I know this question has been asked before, but I've had little success even

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.