1

I am struggling to get this to work and would appreciate any help. I have a cfgrid which is in html format. I would like to be able to change the text of the sort menu that appears when you click onto the column heading. I know there is an ext api that allows you to do alot of changes but I cant seem to put my finger on how to change this text. There are three texts that need to be changed: Sort Ascending, Sort Descending and Columns. Please note this grid has to be in the html format and not the applet format where i think you have options to change sorting buttons text.

The reason for changing the text is for my language functionality in the app.

Any help would be greatly appreciated

many thanks

JC

We are using Coldfusion 9.01 I 'm not sure what code you want to see as all i have is a cfgrid created which wont help really with any answers to my question.

4

1 に答える 1

0

これを直接 ColdFusion で行う方法はないかもしれませんが、最近のバージョンを使用している場合は、JavaScript を使用してこれを処理できる場合があります。

内部では、CFGRID は EXTJ にすぎません。グリッドである「ネイティブ」JS オブジェクトを「つかむ」ことができ、これを「ネイティブ」EXTJ と同じように使用できます。

ネイティブ JS オブジェクトを「取得」する方法については、このリンクを確認してください - http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WS0ef8c004658c1089-6262c847120f1a3b244-7ff7.html

于 2012-10-25T12:23:58.980 に答える