set field visibiltiy in grid

hi all

i added one new field in item master(inventtable)

if the item group = 10 or 20 means i shoud show the field otherwise it shd not show in the master

anyone pls suggest some solution

thanx in advance

Under Form (InventTable) Active method you can write your logic in such a way that if 10 or 20 then field.visible(true) else false. and also you should write the code in modified method of form-inventtabe-fields-itemgroup.

hi vishal tiwari

thanx for ur reply

i wrote my code in inventtable_ds active method and itemgroup field modified method also

if(inventtable.ItemGroupId == “finishedgoods” || inventtable.ItemGroupId == “store items”)