jQuery in Action, 3rd edition
The moose likes HTML, CSS and JavaScript and the fly likes Detecting a Table Row Change Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Detecting a Table Row Change" Watch "Detecting a Table Row Change" New topic

Detecting a Table Row Change

Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1562
I need some help on controling updates from my table.

I have three update modes: By Cell, By Row, By Table

I have by Cell and by Table figured out pretty much but having trouble with by Row.

I do not know how to check when the user changes rows it an effective mannor.

I have a hidden column that holds an update flag for the row. When a cell is changed the flag is set. If the focus is set to a different row I need the update to fire for the row with the flag.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63844

Sounds like it's time to learn about jQuery custom events.

[Asking smart questions] [About Bear] [Books by Bear]
Himanshu Kansal
Ranch Hand

Joined: Jul 05, 2009
Posts: 257
The above poster has written a beauty "jQuery in Action".

Experience and talent are independent of age
wood burning stoves
subject: Detecting a Table Row Change
It's not a secret anymore!