Questions tagged [rowdeleting]

91 questions
1
vote
1 answer

Row isn't deleting from table, what am I missing from either the JS, HTML, or PHP function?

I have a few tables that list different things: questions, replies, and users. The tables are from an admin's pov. On the left side, the code makes a cell that contains a small cancel.png img that's supposed to be a delete button for the row. Right…
1
vote
2 answers

Deleting rows in np array inside a for loop

I am trying to delete all rows in which there is one or less non-zero elements, in multiple 2D arrays contained within the list 'a'. This method works when I run it outside the 'i' loop, but does not as a whole. I know that I cannot delete rows over…
Alexis BL
  • 13
  • 1
  • 4
1
vote
2 answers

Efficiently deleting rows with character variables in R

I would like to delete a few rows that have a specific character variable. I can do it but it is not efficient. The below code works but I would like a more efficient…
Jessi
  • 48
  • 4
1
vote
1 answer

Excel 2013 deleting rows with specific text without leaving blank rows

I'm trying to clarify logs where there are comments in some of the entries and in some there aren't. So what i would like to be able to do is to delete entire rows where there are comments in a column such as NULL and so that it wouldn't leave a…
mhyvarinen
  • 15
  • 5
1
vote
2 answers

Gridview Delete Linkbutton not firing RowDeleting Event

I am so frustrated. Using asp.net GridView. Using a LinkButton with the CommandName="Delete". Don't understand why the page isn't posting back. I've done this a million times in other apps. I've compared them against one another and nothing appears…
ktstar
  • 77
  • 1
  • 9
1
vote
1 answer

Deleting lines starting with a number between two values

I am dealing with a large file and I would like to efficiently delete multiple rows from it using Linux command line. Each row starts with a number and I want to delete rows that start with a number between x and y, e.g. I want to get rid of rows…
user9725730
1
vote
2 answers

Deleting from multiple tables cleanup script SQL

Answer in the bottom, found out eventually. thx for all the contributions. I have to make a script which i will make into a stored procedure which will then run every few months. It will need to go into some specific tables and delete old records. I…
EclecticFish
  • 53
  • 1
  • 10
1
vote
0 answers

How to delete record from table which is not binded to gridview using rowdeleting event?

I have one webpage developed in C# asp.net. Here, I have gridview which is binded to my table1. UserDetails columns are id, userID, user name I have another DashbaordData having columns - data1, data2, and createdby. here input data of createdby…
Pratibha
  • 21
  • 4
1
vote
2 answers

Deleting a row from a csv file with Octave/Matlab

I know this is a pretty common question but I wasn't able to find an answer useful for my problem. If there is something similar I will delete this post. I'm working with Octave on the movies.csv from the Kaggle's 5000 Movies Database and I would…
Prn
  • 13
  • 5
1
vote
1 answer

MsgBox when user tries to delete a row

I am building a tool in excel and have protected the workbook so that deleting or inserting rows/columns is not allowed, using the code below: Sub ProtectSheet() ActiveSheet.Protect _ DrawingObjects:=False, _ Contents:=True, _ …
Kristen
  • 183
  • 1
  • 3
  • 14
1
vote
1 answer

Deleting rows in pandas data frame after evaluating all columns

I have a very large pandas DataFrame (>100 million rows, and >1000s of columns). Each row has a unique label as index, for most of the rows, only one column contains value. I want to make a new DataFrame by deleting those rows with only one of the…
snps
  • 13
  • 3
1
vote
2 answers

jqGrid Additional POST datas when deleting

I want to delete a row in the grid, but the grid always post's only the id and oper, I also want to post additional data. My jqgrid is something like : jQuery("#editgrid").jqGrid({ url:'autoJSON.php', datatype: "xml", …
Arizona2014
  • 1,317
  • 2
  • 18
  • 33
1
vote
0 answers

If a user deletes a row, delete a corresponding row in VBA

I have sheet where the first two columns provide a section and subsection so each row is unique and corresponds to a row in another sheet with different data but with the same section and subsection. So it looks something like this: Sheet 1: Section…
Patman
  • 95
  • 9
1
vote
2 answers

How to access values of row being deleted in RowDeleting event

I am trying to save a little bit of information before I delete it from the database. I'm using an asp gridview. I'm trying to retrieve the values from the row being deleted with the RowDeleting event. However, I've been extremely…
BearSkyview
  • 385
  • 1
  • 8
  • 24
1
vote
0 answers

Delete N rows from Datatable without using iteration

I am using a set of DataTables to store values continuously, from which I have to delete n number of rows. My problem is, when the number of rows reach a limit i have to delete n rows. Deletion should not affect the other writing processes in the…