add  line option in grid