06-22-2022 01:04 AM
I read the csv file to table indicator after that I need to delete a row of data in table indicator if user likes to delete row 5 if he given number particular number that row should delete
06-22-2022 01:23 AM
Hi venk,
@venk_y wrote:
I read the csv file to table indicator after that I need to delete a row of data in table indicator if user likes to delete row 5 if he given number particular number that row should delete
Just delete that row from your data, then wire the changed array data to your table!
Keep in mind: an indicator just displays the data you send by wire…
06-22-2022 10:01 AM
If you want to manipulate data by row, you might want to use a multicolumn list box (MCLB) to present data to user. MCLB has a built-in feature to select data by row.
If you want to edit data by cell, you should use table.
06-22-2022 04:27 PM
Well a "Table" is just a 2D String Array with a fancy front panel, so the standard array tools will work on it.
Don't forget to update the Table Indicator after you delete rows...
06-24-2022 09:27 PM
could you please upload code by taking any random data
06-25-2022 05:23 AM - edited 06-25-2022 05:36 AM
Maybe a multicolumn listbox might be more suitable, but the logic is the same.
Keep the 2D array of strings in a shift register and manipulate the contents. Wire the 2D array to the table terminal directly (make it an indicator! Nobody knows why a table is a "control" by default!!!), or if using a listbox, write to the item names property as shown in the link below.
Try to fully understand and then adapt parts of this piece of code. Should suite your purpose perfectly!