Has anyone used `record.removeLine()` and knows wh...
# general
k
Has anyone used
record.removeLine()
and knows what to do with the
lineInstanceId
property?
b
either the line number or the line instance id are necessary to identify which line to remove
its usually easier to use the line number to identify the line
the line instance id is uuid assigned to each line in the
_id
field that is different each time its loaded
and you basically can only get it when you know the line number in the first place
the niche use is when you are inserting or removing lines and dont want to keep track of the updated line numbers
k
Awesome!
This helps immensly!
I’m going to be removing all lines and then adding new lines back so this is super helpful. Thank. you @battk
@creece Have you had to do this at all?