property collection

(r/o) object collection;

Typ

Zugriff

This property returns the source collection object. This property is related to collection binding. For more information see documentation on collection binding.
function onGetDataForSelectedBox()
{
    if (gCurrentGrid)
    {
        var cursorBox = gCurrentGrid.cursorBox;
        var cellBox = cursorBox.getChildAt(0);
        if (cellBox)
        {
            var myData = cellBox.data;
            if (myData)
            {
                var myCollection = myData.collection;
                if (myCollection)
                {
                    // Now access any properties that were on your collection.
                }
            }
        }
    }
}