[Gambas-user] Gridview delete row
Gareth Bult
gareth at ...1689...
Tue May 1 00:43:12 CEST 2007
Mmm,
Problem with that is the best place to store your info is in a result
set .. trouble is, they're read only ... (!)
Gareth.
On Mon, 2007-04-30 at 23:58 +0200, Benoit Minisini wrote:
> On lundi 30 avril 2007, Steven Lobbezoo wrote:
> > Hi,
> >
> > Maybe a stupid question, but :
> > What's the best and simplest way to remove a row from a grid.
> > I could move all rows above the selected one, and then delete the last one
> > by setting the count one less, but that seems complicated.
> >
> > If someone knows a better solution ??
> > Thanks,
> > Steven
> >
>
> This is a method to implement. Something like GridView.Row[XXX].Delete()
>
> At the moment, the better way is to not store anything in the GridView, to
> always use the Data event, and to store the GridView data in its own
> structure that you can manipulate as you like.
>
> Regards,
>
--
Gareth Bult, Encryptec Limited
Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657
Email: gareth at ...1689..., MSN:garethbult at ...67...
Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request.
More information about the User
mailing list