converted selectedColumnIndex to Number