خرید بک لینک

Vote count: 0

Im using AlloyUI 3.0. I used the code above:

YUI().use(
    'aui-datatable',
    function(Y) {
        var columns = [
            {label: 'ID', key: 'id'},
            {label: 'Project Name', key: 'name'},
            {label: 'Created At', key: 'created_at'}
        ],
        data = [];

        var myDataTable = new Y.DataTable({
            plugins: [
                {
                    cfg: {
                    selectRow: true
                },
                fn: Y.Plugin.DataTableSelection
                },
                {
                cfg: {
                    highlightRange: false,
                    type: 'rows'
                },
                fn: Y.Plugin.DataTableHighlight
                }
            ],
            columns: columns,
            data: data
        })
        .render("#myDataTable");
    }
);

How to get the selected row data? How to define the selection event, click, double click, etc?

asked 2 mins ago

برچسب: how to access icloud,how to access router,how to access the dark web,how to access icloud photos,how to access bios,how to access google drive,how to access clipboard,how to access icloud on pc,how to access icloud on mac,how to access bios windows 10, نویسنده: استخدام کار تاريخ: دوشنبه 15 شهريور 1395 ساعت: 22:17

صفحه بندی