added "onClick" action to grid widget