Using two elements together

Using two elements together

fthomasfthomas Posts: 8Questions: 0Answers: 0
edited December 2009 in General
First off, this is one of the best looking tables I've seen to date, and I've looked at a lot.

What I wanted to ask is, is it possible to combine options when working with tables? For example, I'd like to be able to permit a user to click on a row and the function 'show and hide details' will open up the details page. Within the details page, the user can then edit the values with the 'editable row' function.

Does that make sense and would I be able to do that?

Thanks again!

Frank

Replies

  • allanallan Posts: 61,822Questions: 1Answers: 10,127 Site admin
    Hi Frank,

    Yes - you can do that. It's basically a case of combining the code from the various examples to get the effect you want. When you say the "details page" do you mean a different HTML page? In which it should be fairly easy to do as you've got page reloads effectively refreshing the data with the reload.

    If however you want to have the editing occurring in the "details row", then you can make use of fnUpdate() to update the information in the row from the user input details, and once it has been saved to the server.

    Hope this helps,
    Allan
This discussion has been closed.