Adding new record collection...


Author
Message
StarkMike
StarkMike
StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)
Group: Forum Members
Posts: 436, Visits: 944
I have a grid tied to a BO. If the user elects to add a new row to the BO through the grid can he also edit other records and will those changes (both the new record and the changes to existing records) persist? Is there a way I can prevent them from editing other records while in an add and yet still enable them to edit multiple records?



P.S. Is it also safe to assume that the user only needs to click on new ONCE and can add multiple records?
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
both the new record and the changes to existing records) persist?

Yes, both the new and edited records will be persisted.

Is there a way I can prevent them from editing other records while in an add and yet still enable them to edit multiple records?

This would depend entirely upon the grid and really has nothing to do with StrataFrame.  One thing that you could always do is cycle through the BO and reject any changes for rows that have been "Modified" but leave any rows that have been added.  But this could be confusing to your end user and your would more than likely want to make existing records "read-only" within the grid and only allow new rows to be added.

Is it also safe to assume that the user only needs to click on new ONCE and can add multiple records?

The BO will handle as many new rows as you add...as for the interaction within the grid, again this depends entirely upon how you program and setup the logic within the grid.

StarkMike
StarkMike
StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)
Group: Forum Members
Posts: 436, Visits: 944
Thanks
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search