Complex row scenario with DataTables possible?

Complex row scenario with DataTables possible?

joewjoew Posts: 3Questions: 0Answers: 0
edited August 2011 in General
I would like to create a more complex row scenario like this:
[code]



Col1
Col2
Col3
Col4




A1
B1
C1
D1
E1
G1
K1


F1
H1
L1


A2
B2
C2
D2
E2
G2
K2


F2
H2
L2


[/code]

Sorting of Col2 should apply to entries B-E (special sort function required), sorting of Col3 and Col4 to entries G resp. K.
Could have solved the multi-row issue with newlines, but I intend to use jeditable for data manipulation. Is this feasible with datatables?
If it matters: I planned to user server-side processing as the table will contain hundreds of entries.

Replies

  • fbasfbas Posts: 1,094Questions: 4Answers: 0
    datatables doesn't do colspan
  • joewjoew Posts: 3Questions: 0Answers: 0
    Any chance to overcome this limitation?
    If I did it this way:
    [code]


    Col1
    Col2
    Col3
    Col4




    A1
    B1, C1, D1, E1
    F1
    G1
    H1
    K1
    L1


    A2
    B2, C2, D2, E2
    F2
    G2
    H2
    K2
    L2



    [/code]

    Will I still be able to make the entries editable one by one?
  • fbasfbas Posts: 1,094Questions: 4Answers: 0
    yes. put them in their own elements (wrap them in or something) and apply editable to those elements.
  • joewjoew Posts: 3Questions: 0Answers: 0
    Thx for the info... Will give it a try.
This discussion has been closed.