style datatable

style datatable

lolodevlolodev Posts: 17Questions: 0Answers: 0
edited June 2012 in General
hi,

i try to use datatable with a style like http://www.mangerbouger.fr/bouger-plus/nous-vous-aidons-a-bouger/bouger-pres-de-chez-vous.html?codepostal=paris

how can i do ? thanks

Replies

  • koosvdkolkkoosvdkolk Posts: 169Questions: 0Answers: 0
    http://datatables.net/styling/
  • lolodevlolodev Posts: 17Questions: 0Answers: 0
    ok i've read that
    but i don't see how to style cells position, the other one below... and an picture at left...
  • koosvdkolkkoosvdkolk Posts: 169Questions: 0Answers: 0
    I am sorry, I do not understand what you mean. What exactly do you want? Could you post something on http://live.datatables.net/#javascript,html,live?
  • lolodevlolodev Posts: 17Questions: 0Answers: 0
    i want to customize cells position as this example : http://www.mangerbouger.fr/bouger-plus/nous-vous-aidons-a-bouger/bouger-pres-de-chez-vous.html?codepostal=paris

    you can see that : picture cells 1
    cells2
    cells3

    with css i can style color, font-size... but i don't how to customize cells position in a line ...
  • koosvdkolkkoosvdkolk Posts: 169Questions: 0Answers: 0
    What do you mean by: "customize cells position in a line"?

    The cells in your example just have the same position, and height, so I do not see what is customized...

    You can use Firebug to check the css of that particular table, maybe it helps?
  • lolodevlolodev Posts: 17Questions: 0Answers: 0
    ok i use firebug

    i found class like #dataTable.date doean't referer to an class in dataTable.
    is it possible to link an field name with an class style name ?
  • lolodevlolodev Posts: 17Questions: 0Answers: 0
    here an example of :
    [code]








    [/code]

    how can associate a style name to ?
  • lolodevlolodev Posts: 17Questions: 0Answers: 0
    i use serverside ajax with json.
    is it possible to dynamically generated an class Name to TD ?
  • lolodevlolodev Posts: 17Questions: 0Answers: 0
    ok i found

    [code]
    "aoColumns" : [
    { sClass: "date" },
    { sClass: "titre" }],

    [/code]

    :)
This discussion has been closed.