SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Zealot tss68nl's Avatar
    Join Date
    Nov 2002
    Location
    Netherlands
    Posts
    165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Databound table styles?

    I have observed that when you have a databound table, whenever you pivot through the dataset (change the currently active record) the styles applied to the rows are changed. However, I have no clue *what* exactly is changed, I only see some things change.
    It makes sense something changes in the styles, as you will probably want to indicate which record is the active one. Can anyone tell me what exactly chnages ? Does it apply a certain ID to the TR element? Or a class name? I have searched everywhere, but failed to find any documentation on it.

  2. #2
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    What "databound" tables are you talking about? can you post some example code for us to look at?

  3. #3
    SitePoint Zealot tss68nl's Avatar
    Join Date
    Nov 2002
    Location
    Netherlands
    Posts
    165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Standard databound table, as in:

    Code:
    <table DATASRC="#myDataSource">
    <tr>
    <td><DIV datafld="ID"></DIV></td>
    <td><DIV datafld="CustomerName"></DIV></td>
    <td><DIV datafld="Address"></DIV></td>
    </tr>
    </table>
    Your datasource can be any datasource, like a TDC or an xml data island, like so:

    Code:
    <XML SRC="data/dummy.xml" ID="myDataSource"></XML>
    I wasn't aware of any other types of databound tables in HTML?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •