Jump to content

UniDBGrid - record position problem


dalpiaze

Recommended Posts

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.

Link to comment
Share on other sites

  • Administrators

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.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...