collapsible groups with checkbox

collapsible groups with checkbox

jbluedeltajbluedelta Posts: 1Questions: 1Answers: 0
edited August 2014 in Free community support

Datatable version: 1.9.4

am looking to do a combination of these 2 example:

https://jquery-datatables-row-grouping.googlecode.com/svn/trunk/collapsibleGroups.html

http://stackoverflow.com/questions/14128939/how-to-show-checkboxes-in-jquery-datatables

json data:

{
    "Developers": [
        {
            "Name": "John Doe",
            "ReadAccess": 0,
            "WriteAccess": 1
        },
        {
            "Name": "Jane Doe",
            "ReadAccess": 0,
            "WriteAccess": 0
        }
    ],
    "Sales": [
        {
            "Name": "Window",
            "ReadAccess": 1,
            "WriteAccess": 1
        },
        {
            "Name": "Mac",
            "ReadAccess": 1,
            "WriteAccess": 0
        }
    ]
}

I am working my way through my 1st project using jquery and data table and appreciate any help if I can load the datatable with json data and have the grouping where in the group header I can have check box for Read and Write, this is so that if a user checks on this group header then all users i that group header will get the Read and/or write permission, else user can expand the group header and view individual users in the group and set the read and/or write permission

This discussion has been closed.