EasyUI Forum
September 14, 2025, 01:39:50 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How to select a row which is not in the datagrid  (Read 8097 times)
helgvor_stoll
Newbie
*
Posts: 2


View Profile
« on: July 02, 2024, 03:31:05 AM »

Hi everybody,
I'm getting gray hair on a problem. Can somebody help me.
I want to develop a master/detail view for a little project. On the left I have a datagrid and on the right the form corresponding to the selected record.
On the datagrid, I have a "add" button in the toolbar and when I click on it, a new blank form is available for filling the data. Until here, everything is ok. So, I save the new record and I would like that:
* if I'm on the first page, the record is the first one on the top and automatically selected. It's ok as I refresh the right panel on the "onSelect" events of the datagrid
* If I'm not on the first page, I would like that the new record can be selected and when i come on the first page, it is maked as selected as well. But this part doesn't work.

Can somebody help me,
Thank you in advance,
Kind Regards

Logged
helgvor_stoll
Newbie
*
Posts: 2


View Profile
« Reply #1 on: July 02, 2024, 06:01:51 AM »

Perhaps thé source code can help. This source IS unfortunately missing. Does somebody have it?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!