Documentation ?
--- In vantage@yahoogroups.com, "Brian Roberts" <broberts@...> wrote:
>
> Jose, I noticed this in the documentation when looking for something
> else - haven't tried it myself. Last paragraph below.
>
> Brian.
>
>
>
>
>
>
>
> Add a Row Behavior
>
> To provide the behavior of adding a new row within a grid, write code
> that listens to the BeforeRowInserted
>
> event. Typically this event handler calls the correct GetNew method
> within the transaction, so there
>
> will normally be a separate handler for each grid that is linkded to a
> different view. Here is an example of
>
> the BeforeRowInserted event handler:
>
>
>
> Even if Add New is not allowed, you must have the code listen to this
> event and set the event
>
> arguement's Cancel flag to True (e.Cancel=True). This prevents the grid
> from inserting a new
>
> row when a grid is in View Only mode.
>
>
>
>
>
>
>
> ________________________________
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> Of Jose Gomez
> Sent: Monday, August 22, 2011 4:21 PM
> To: Vantage
> Subject: [Vantage] New Row on Enter Ultra Grid
>
>
>
>
>
> I have an Ultra Grid bound to QuoteDtl when I hit enter on the grid it
> throws an error saying that Insertion Is Not Allowed on my Data Set.
> Only
> problem is I don't want to add a new record, any idea how to disable
> that
> functionality?
>
> Thaks!
>
> *Jose C Gomez*
> *Software Engineer*
> *
> *
>
>
>
>
>
> [Non-text portions of this message have been removed]
>