Jump to content


Photo

NextVirtualGrid 6


  • Please log in to reply
2 replies to this topic

#1 CurnutteR

CurnutteR
  • Members
  • 3 posts

Posted 15 December 2025 - 01:41 PM

Hello,

 

I have been experimenting with the virtual grid and have a question about cell and object updating.

 

I have used Virtual Cell Source, because I like the way it separates the data from the UI. It seems to me that this Cell Source component only goes one-way, I can update the cells from the data source (an object list), but to update the data source from cell edits I have to use the main grid's OnAfterEdit instead of the Cell Source.

 

Is this intentional, or have I missed something?

 

The demo projects and any documentation I can find only cover updating the grid from the data.

 

I am using Delphi 10.4, and Next Suite 6.8.5.

 

Thank you

 

Russell.



#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 16 December 2025 - 06:23 PM

Hi Rusell,

 

Yes, this is intended behaviour. There is also OnCheckedChanged for columns such as CheckBox column.

 

I think that I will update the demo for the new needs as people more and more like to use virtual "version" of the grid.


boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.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 DelphiToday

DelphiToday
  • Members
  • 157 posts
  • Gender:Male

Posted 22 December 2025 - 03:41 PM

I wrote a hack for the VirtualGrid source in unit ‘NxVirtualGrid6.pas’. It selects via Multiselect as it should, but only loses the selection when MouseUp is pressed!

 

Got it?






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users