Jump to content

Recommended Posts

Posted

Hi,

 

I have a problem using TUniDBGrid with Master/Detail structure.

 

I put two TUniDBGrid's in a TUniForm, linked to two Tables (configured with Master/Detail)

Until here ok.

 

Then, I want detail grid starts with the "last" record selected when Master grid changes record.

 

In my Delphi projects (non uniGUI), I usually set the event of Master component TDataSource>OnDataChange > TbDetail.Last;

and works fine!

 

But in uniGUI (WebMode), it seems when the grid detais recharge records (master record changed), after display refresh, the DataSet jumps the record to the focused on the grid component, losing my required position on DataSet.

 

Some workaround for this ??

Thanks.

  • Administrators
Posted

But in uniGUI (WebMode), it seems when the grid detais recharge records (master record changed), after display refresh, the DataSet jumps the record to the focused on the grid component, losing my required position on DataSet.

 

I couldn't reproduce it here. Detail grid should focus on current row whether it is last row or not.

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...