Jump to content


Photo

nxtgrd1.SaveToXml (HTML, TXT) not work pls Help!


  • Please log in to reply
4 replies to this topic

#1 Ltybcrf

Ltybcrf
  • Members
  • 59 posts

Posted 31 October 2018 - 10:39 PM

Hello Bast of the World Admin Boki!  :(

 

Help me pls!

 

I'm your customer and after star new Project I Have mistake or bug with Save dialog ...

Use NextGrid6  Delphi RAD 10.2 Tokyo

 

When Im write 

 

NextGrid1.SaveToXml or HTML, TXTFile  I have error:

[dcc32 Error] Unit2.pas(3029): E2003 Undeclared identifier: 'savetotextfile'

 

I can't understand what's wrong, as soon as I don't try to save the table - it doesn't work ... please tell me what to do so that the table is saved to a file ... what to look for ... and you know I am an experienced user, but then I just spread my arms to help out brother !



#2 Ltybcrf

Ltybcrf
  • Members
  • 59 posts

Posted 31 October 2018 - 10:47 PM

And one more question, how to save, for example, only one 2 (second) data column or the third one?



#3 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 01 November 2018 - 09:53 PM

Hello,

You need to use .Serialize sub-object.

For example:

  NextGrid61.Serialize.SaveToCSV('...');
There is also

  NextGrid61.Serialize.LoadFromCSV();

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.

#4 Ltybcrf

Ltybcrf
  • Members
  • 59 posts

Posted 02 November 2018 - 08:44 AM

Thank you very much, as always, everything is super!
 
But you did not answer the second question, perhaps without noticing it:
How to save for example in a text file only some single column / column, for example:
 
1) How to save only the 3rd column / column from the table?


#5 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 04 November 2018 - 01:13 AM

Hi,

At the moment this is not possible. But I will think about adding this feature.
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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users