def changeWidgetOptions(pageIndex, columnIndex, widgetIndex, names=[],
    retJson=True, **kw):
    """ Change options of widget.

        @param pageIndex
        index of page the widget lies on( start from 0 )

        @param columnIndex
        index of column the widget lies on( start from 0 )

        @param widgetIndex
        index of the widget, count from top to bottom( start from 0 )

        @param names
        list contains widget options name

        @param retJson
        format return value to json format or not( default True )

        @param **kw
        widget options( default is request )

        @return
        a dict contains state of process, format like:
        {
            'success': True,
            'msg': 'Change widget options success.',
            'options': {...}
        }

        """
