|
laleb - 2011-09-25 12:46:43
there is a problem with the length of value in CSV, if the CSV value long, code in the table are confused?
sorry for bad english...
Andreas Mueller - 2011-09-26 07:21:36 - In reply to message 1 from laleb
Hi Ialeb
in this version it reads Lines up to 3000 characters, if your data is longer it gets confused.
But this limit is arbitrary and can easily be changed, in function ReadCSV (around Line 42) there are these lines:
$this->HeaderData = fgetcsv ($fp, 3000, $this->Separator);
while ($DataLine = fgetcsv ($fp, 3000, $this->Separator)) {
Change the 3000 value to something more than your longest line.
This should not be unnecessarily high, as it affects the memory your script uses.
hope this helps
Andreas
laleb - 2011-10-26 11:02:30 - In reply to message 2 from Andreas Mueller
Hi Andreas,thanks for help,
but now I have another problem, I need options to delete whole row?
Like column delete?
Thanks
Andreas Mueller - 2011-10-27 13:35:35 - In reply to message 3 from laleb
I am a bit confused, usually I would refer to rows as the "horizontal" data, whereas columns describes the vertical (contents of one Field in a record).
What do you want to delete now, and do yu want to do this with the editor interface or directly by your pscript accessing the class?
laleb - 2011-10-31 12:16:22 - In reply to message 4 from Andreas Mueller
Sorry, my mistake,
I want option to delete entire columns, like button for row in class?
|