Read-only Grid - it's possible to disable the column sort
Hello,
the column sort in the grid not work very well, and i ask me if it's possible to disable..
thank a lot
Comments
-
Hi Alex1234,
In the client scripts for when the form loads add the following jscript:
$telerik.$(".rgHeader").find("a").attr('onclick','').unbind('click'); $telerik.$(".rgHeader").find("a").attr('title',''); $telerik.$(".rgHeader").find("a").attr('href','javascript:void(0);'); $telerik.$(".rgHeader").find("a").css('cursor','default');
This will unbind the problematic sorting functionality from the grid.
Please be aware that this functionality is NOT supported by OpenText so it may not work on a future release and I've tested this in 9.1.2.3 only.
Best regards,
Paul.
0 -
thanks a lot
0 -
In the MBPM 9.2.1 with your source code, not work correctly.. the colum is not disable
0 -
the code that i try to use in the client script when form load is :
$telerik.$(".rgHeader").find("grid_name").attr('onclick','').unbind('click'); $telerik.$(".rgHeader").find("grid_name").attr('title',''); $telerik.$(".rgHeader").find("grid_name").attr('href','javascript_;void(0);'); $telerik.$(".rgHeader").find("grid_name").css('cursor','default');
0 -
I've just been able to test this in 9.2.0 and it looks like the DOM has changed across versions.
$telerik.$("#Grid1").find(".rgHeader").find("a").attr('onclick','').unbind('click'); $telerik.$("#Grid1").find(".rgHeader").find("a").attr('title',''); $telerik.$("#Grid1").find(".rgHeader").find("a").attr('href','javascript:void(0);');
"Grid1" being the name of the grid on the form...
This change should be a warning as it shows how un-predictable the updates to the web client can be and therefore why it's not a support "function" so please use with caution or at least encapsulate within a central library function so that when you update MBPM if a code update is needed you only need to make it in one place.
Best regards,
Paul.
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 152 General Questions
- 148 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories