Changing column name dynamically

前端 未结 2 722
名媛妹妹
名媛妹妹 2021-01-16 23:34

I have a Header / Detail custom screen where I\'m manipulating which grid columns display based on a dropdown selection in the header. This works fine, but now I\'d like to

2条回答
  •  再見小時候
    2021-01-17 00:26

    Your display name routine looks correct however to make sure the column names actually update you need to do the following:

    • In the page source, you need to set the "RepaintColumns=true" value on the grid. This can be done via customization manager or directly from your ASPX source. - This tells the grid to refresh the columns after a callback allowing the headers to actually redisplay.

提交回复
热议问题