Jump to content


Photo

New feature - onchanging row event for NextGrid


  • Please log in to reply
10 replies to this topic

#1 anthony

anthony
  • Members
  • 26 posts

Posted 25 December 2006 - 12:23 AM

Boki

Can you please add an on changing row event for nextgrid that allows for the selected row to be changed to another or not depending on conditions in the event. This would be very helpful when using master detail grids and forcing the user to save the detail row before the master row can be changed etc

Tony

#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 7,742 posts
  • Gender:Male

Posted 25 December 2006 - 02:17 AM

Hello Tony,

I didn't understand it completelly, can you please tell me more details.

Thank you,
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#3 anthony

anthony
  • Members
  • 26 posts

Posted 25 December 2006 - 02:44 AM

QUOTE (Boki (Berg) @ Dec 25 2006, 12:17 PM) <{POST_SNAPBACK}>
Hello Tony,

I didn't understand it completelly, can you please tell me more details.

Thank you,


Boki

What I am asking for is that there is a new event that fires before the row selection is changed to another row that either returns a true allowing the selected row to be changed or false not allowing the selected row to changed to anther row. It is similar to the oneditaccept event that allows or disallows the newly changed values just that this event allows or not allows the selected row to be changed to another row

Tony

#4 anthony

anthony
  • Members
  • 26 posts

Posted 07 January 2007 - 11:03 PM

Boki

Can you please consider this as a feature in the upcoming version - I have added an explanation in the prev post

Thanks
Tony

#5 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 7,742 posts
  • Gender:Male

Posted 08 January 2007 - 01:36 AM

Hello Tony,

I will try to find a little bit of time to add it.

regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#6 bosjo

bosjo
  • Members
  • 70 posts
  • Gender:Male
  • Location:Märsta, Sweden

Posted 19 January 2007 - 10:58 PM

I am very much interested in a similar event, and hope you will be able to find a few minutes to add this also. The event I am thinking of fires before the selection of a cell, and determines whether the user is allowed to select that particular cell; in the standard VCL TStringGrid this is done in OnSelectCell through the parameter CanSelect, but in TNextGrid the CanSelect parameter is missing.

TIA!

/BoS

#7 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 7,742 posts
  • Gender:Male

Posted 20 January 2007 - 12:07 AM

Hi,

I am adding it right now.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#8 anthony

anthony
  • Members
  • 26 posts

Posted 20 January 2007 - 08:59 AM

Thanks very much Boki

#9 anthony

anthony
  • Members
  • 26 posts

Posted 26 February 2007 - 12:45 PM

Boki

When will the on changing row event be available?

Tony

#10 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 7,742 posts
  • Gender:Male

Posted 26 February 2007 - 03:41 PM

Hello Tony,

I have add it already and it is called OnBeforeSelect

regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#11 anthony

anthony
  • Members
  • 26 posts

Posted 27 February 2007 - 11:10 PM

Thanks Boki - I didn't think to look for that event name




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users