Hi,
I have a Template column that lists primary key(project #) of the table as a link button. Clicking on link button does some server side processing and redirect to another page. I'd like to enable sorting possible on this template column (the contents are only datakey of the key). I undertand that Sorting may not be possible on the template column, if there's any hacks to achieve this, can you share some sample code please?
Alternatively, I can make this template column, bound coulumn and handle my server side processing on double click of the row. But, only client side double click handlers are there. How do I pass the selected Datakey value to the server side on double click? Again sample code is appreciated!
Thanks,
Mohan
Thanks for this post. This enabled me to sort on a templated column with little difficulty. The key points to your example which might be missed is that you have to reset the datasource of the grid on postback as well as not postback. This grid will not sort on client side, so you need to redo your data fetch or (as in this example) reload it from a session variable. I tend to avoid session vars if I can just because it tends to cause other issues.
We are using version 11.1
Hello dev_here,With what build you managed to reproduce the issue?
For webhierarchicaldatagrid:
When I tried to use this I see that on sorting the template columns with hyperlinks become blank.(For child grid)..
Is there a way to get past this?
Hello Mohan,If you have any other questions related to the sample/ issue please let me know.