added some logic on column click ..