Jump to content

Recommended Posts

Posted
Quote

Please explain this with specific examples.

 

UnidBGrid show list of data that some fields is empty(no entered by user).
I want by drag & drop (for two rows), merge dragged (Source) row data into dropped (Destination) row.

This means after drop, update destination row data by source row data and then delete source row.
Source UnidBGrid  and Destination UnidBGrid  is same.

for example
row id 1 : 
       firstname: name1
       lastname: empty
       ordercount: 10
row id 2 :
       firstname: name1
       lastname: lastname1
       ordercount: 5

resault of DnD:

row id 1:
        firstname: name1
        lastname: lastname1
        ordercount: 15

row id 2 is deleted and not show in UniDbgrid.

 

 

Regards.

  • Like 1
Posted
19 hours ago, A.Soltani said:

for example
row id 1 : 
       firstname: name1
       lastname: empty
       ordercount: 10
row id 2 :
       firstname: name1
       lastname: lastname1
       ordercount: 5

resault of DnD:

row id 1:
        firstname: name1
        lastname: lastname1
        ordercount: 15

row id 2 is deleted and not show in UniDbgrid.

Hello,

Well, is not it better to use a grouping in the query?

Posted

Hi

Quote

Well, is not it better to use a grouping in the query?

The user does not want all records with an empty field to be merged.

Rather, it wants to do so selectively.

 

Regards.

Posted
5 minutes ago, A.Soltani said:

The user does not want all records with an empty field to be merged.

Rather, it wants to do so selectively.

Ok, but next time, when users will open the dataset, what will happen? What's your logic?

Posted

Hi

 

After merge two row by user, changes must be saved in database.

Next time, when users will open the dataset, will see only one row(result of merge two row).

source row must be deleted from database(and not show in uniDbgrid) and destination row must be updated.

 

Regards.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...