How I can get data from dialog grid and put it to another grid?

0 Answers 83 Views
Grid
WoorimartDEV
Top achievements
Rank 1
Iron
Iron
WoorimartDEV asked on 18 Jan 2023, 10:44 AM

Hello
I'm asking you a question because there's a tricky screen.
The screen consists of Grid and Dialog, as shown below.

[StudentGrid]


[StudentDialog]

Hello,

I'm trying to organize the screen, so I'd like your help.

If I press "Add" button to add a new Editable row to Grid[StudentGrid]
And then, go to StudentNo in the added row and press the "Enter" key.
I press "Enter" Key, the [StudentDialog] visible
If I put the student number and press "Enter" key in [StudentDialog], the information of the students corresponding to the grid below will be printed out (for example, if the search term is "10", students with 101, 1001, and 10 will print out as search results)
And [StudentDialog] disappears when selecting one of the rows of the retrieved results.
Insert student's information into [StudentGrid] currentEditRow, which was selected in [StudentDialog].

I am currently using html and javascript.
I'm asking you a question because I couldn't find and try data on where the current Row of grid is 
and how to put the value in each column of grid's current EditRow when selected from dialog.
Please let me know if there is an example or reference for that part.


Attila Antal
Telerik team
commented on 23 Jan 2023, 09:45 AM

Hello,

To get a better understanding of your scenario, please clarify the following:

  • Is the Grid bound on the server or on the client side?
  • How is the dialog opened?

Also, please share the current code you have so we can read and understand what it is trying to do and we'll advise you accordingly.

 

 

 

No answers yet. Maybe you can help?

Tags
Grid
Asked by
WoorimartDEV
Top achievements
Rank 1
Iron
Iron
Share this question
or