SMART datagrid v1.4 > Classes > DLBase

Back  Forward

DataLudi.DLBase.assign  method

Json 객체로 하나 이상의 속성을 동시에 설정하고, 자기 자신을 리턴한다. 

function assign (source: Object): Object;
Returns
Object
Parameters
source - Object. required.
Note
Code -1
    var column = grid.focusedIndex().column;
    if (column) {
        column.assign({
            width: 200
            resizable: true,
            movable: true,
            styles: {
                background: "#ff0000"
            }
        });
    }
See Also
getProperty
getProperties
setProperty
setProperties
DataLudi Class System
Examples
Hello Grid
Hello Tree