Categories | Question details Back To List | ||||||||
Detach Header I have a code snippet mygrid.setHeader("ID #,Name,Total,#cspan,<%=gridHeader.replaceAll(",",",#cspan,")%>,#cspan"); mygrid.attachHeader(",,,Mix,,Mix,,Mix,,Mix,,Mix,,Mix,,Mix,,Mix"); I need to detach the attached header on click of a button on my page. I tried using mygrid.detachHeader('1',''); But this doesn't work out. Am able to detach the main header using mygrid.detachHeader('0',''). But doesn't work with the attached header. Is there any other way to acheive this? Answer posted by Support on Jun 26, 2008 02:55 The code above must work correctly, you need not any special command except of detachHeader call. Please check attached sample - it uses the same code and works correctly. If problem still occurs for you - please provide any kind of sample where issue can be reconstructed. Attachments (1)
|