Closed GoogleCodeExporter closed 9 years ago
That functionality already exists.
That's what user defined callbacks are for.
Basically, you attach a function to the onParseEntry hook that checks the
column number and skips the ones you specify. Check the column number through
the state.colNum parameter. You can skip an entry by returning false.
Give the documentation for Hooks a read:
https://code.google.com/p/jquery-csv/wiki/Hooks
Original comment by evanpla...@gmail.com
on 20 Mar 2013 at 11:13
Hey guys,
thanx so much for the answer, in my current work rush i just did a
browser search on the lengthy overview page for "callback", browsed the
options and methods and bottom, even went to the API page for the
toArray Method, but obviously failed to scroll up and read the whole
text before opening the ticket. Sorry for that and a big tip of hat for
this excellent library!
Cheers - Phil
------------------------------------------------
change I.T. - Software Development & Consulting
Norderstr. 97 24939 Flensburg
MOBILE 0176-50128772 SKYPE philipp.austermann
https://www.xing.com/profile/Philipp_Austermann2
------------------------------------------------
Bankverbindung GLS Bank UST-IdNr.
KTO 2019504400 DE266182829
BLZ 43060967
Original comment by p...@patient-radio.de
on 21 Mar 2013 at 6:07
Your welcome.
I changed the front page to say hook/callback and added another wiki link to
the documentation.
Don't fret about opening a ticket, that's what it's there for. Without your
feedback I wouldn't have known that changes should be made to make the
documentation easier to find. The quality of this project is a direct result of
a lot of good feedback from users.
Thanks for the contribution and for the appreciation.
Original comment by evanpla...@gmail.com
on 21 Mar 2013 at 8:29
Original issue reported on code.google.com by
p...@patient-radio.de
on 20 Mar 2013 at 11:08