Datatable jQuery re-position

I have a datatable in screen 1 with columns 1-ID, 2-NAME and 3-ADDESS. The table has 87 records.

Upon clicking on a row, example row 34, user is directed to another screen (screen 2) where user can modify name or address.

After updating the database in screen 2 with name and address for record 34, I return to screen 1 and refresh the whole datatable (read database and re-populate datatable).

How do I re-position the datatable at row 34  ?
Errol FarroAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bob LearnedCommented:
1) What development environment are you using?

2) How are you generating the "datatable"?
0
Rainer JeschorCommented:
Hi,
what do you mean with " directed to another screen "?
Do you post/change the url? Or do you open a new window/tab? Or do you open a "popup"/dialog (e.g. using a div which get its content through an Ajax call)?
If you are redirecting between the screens, then I would suggest to add a querystring parameter and read that after your datatable init to position the correct page.
E.g.
Page 1 (complete table) -> redirect to Page 2 with ID and page parameter in url -> redirect to page 1 with id and/or page parameter

HTH
Rainer
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Errol FarroAuthor Commented:
@Bob

) What development environment are you using? -Coldfusion
2) How are you generating the "datatable"? Read database and write out HTML code
<cfloop query="qryContactInfo1">
      <tr>
            <td>#ciId#</td>
            <td>#ciName#</td>
            <td>#ciAddress#</td>
      </tr>
</cfloop>

@Ranier
I am doing exactly as what you are saying
Page 1 (complete table) -> redirect to Page 2 with ID and page parameter in url -> redirect to page 1 with id and/or page paramete
Which parameters must I pass back to the datatable in order to position it at the correct row ? SO, how must the JQUERY look loke ?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
jQuery

From novice to tech pro — start learning today.