Jump to content

3 Level Row Widget in TUniDBGrid. Limitation?


MarkB

Recommended Posts

Trying this again since last time the post failed somehow it failed.

Is there a limit on how many RowWidget TUniDBGrids you can have.   I've got a Grid with 3 levels of nested Detail Grids.

When I try to expand the 3rd level I get an error 'dbGirdQuestions_O1FB_Row_-1' is not a valid component name.

image.thumb.png.9b518c99d2a346964be7bf8dc2a83365.png

 

It's failing in UniDBGrid in method 

procedure TUniCustomDesktopDBGrid.H_OnExpandBody(This: TJSObject; EventName: string;
  Params: TUniStrings);

at line

    cName := Self.Name + '_' + Self.JSName + '_Row_' + IntToStr(Id); 

Because the IntToStr(ID) is -1

 

Link to comment
Share on other sites

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