html cfgrid change the text of Sort Ascending and Sort Descending menu items on column headers - api

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.

There may not be a way to do this in straight ColdFusion, but if you are using a recent version, you may be able to use JavaScript to handle this for you.
Under the covers, CFGRID is nothing more than EXTJs. WE are able to 'grab' the 'native' JS object that is the grid, and then use this as we would a 'native' EXTJs.
Checkout this link on how to 'grab' the native JS object - http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WS0ef8c004658c1089-6262c847120f1a3b244-7ff7.html

Related

MacOS react-native picker/select with search field

I am using #react-native-picker/picker on macOS to select items in a picker/select.
But graphically it's not very nice, what I would like to achieve is an effect similar to the one in the image below or something that suits the graphics of macos.
With the possibility of putting an icon next to the text, an input field that allows you to filter the results.
Can you give me some advice?
It would depend on what the library allows customization wise. However, this isn't very hard to accomplish without a package. Essentially you want to combine a text field with a flat list and use the input from the text field to filter the data in the flat list. You can then also customize the text in the text field based on what item is selected in the flat list.
Let me know if you have any questions.

React Native Text Selection (Highlight text in different colors) HTML view and custom menu

Help, I am having trouble completing the required functionality:
Highlight text (Select text and highlight in colors).
Make notes in the selected text.
I already tried almost all of the libraries available (https://www.npmjs.com/package/#astrocoders/react-native-selectable-text and
https://www.npmjs.com/package/react-native-cn-quill/v/0.7.6 etc), but had no success. Ideally, I would like to hire someone to implement the required functionality.
I have attached a screenshot to understand the functionality.
enter image description here
a little late but maybe this helps:
used:
"#alentoma/react-native-selectable-text"
to create this:
https://github.com/Domth13/React-Native-Highlight-Text

How can I implement a text parsing/tokenising interface similar to the way Xcode highlights class names?

I am very new to Cocoa and Objective C so please forgive me if this is a dumb or obvious question. I'd be very grateful just for pointers to the right classes to read the documentation for or any existing web resources that will help me figure this out. I am very much willing to do the hard work figuring this out if I can find some suitable resources to point me in the right direction.
I am writing an app that, essentially, will contain a text view into which a user will enter multi-line text. This will then be parsed (I'm thinking of using an NSScanner or, maybe, the ready-made stuff in ParseKit) to extract and tokenise certain words and numerical information which will be stored in a model object.
I think I can figure out the parsing and data-storage stuff. However, I would like the tokenised words and numbers to be highlighted to the user so that they can easily see them, change them and also have a contextual menu (with a disclosure triangle) to perform actions such as ignoring them. Ideally this would look a lot like the way Xcode deals with class names (underlining them with dashed line, giving them a menu etc).
I've had a look at NSTokenField but this seems to be suited most to single-line fields and the big blue tokens are a bit too visually disruptive for what I want. Also, the docs seem to suggest that using the plain text style only allows one token per field so I couldn't mix that with another style to get the effect that I'm after.
I've also had a look at text attachment attributes but I can't quite conceptualise whether they would be the right way to go. So, my questions are:
What is the best way to tokenise only some text within a multi-line text view?
Is it possible to implement a custom visual style for the tokens? Can I do this with existing classes or do I need to create my own?
Watch the WWDC sessions on the Cocoa text system. The class you want to understand is NSLayoutManager.

can any one tell me the details about below displayed control?can i arrange images on this?

can any one tell me the details about below displayed control?can i arrange images on this?
Hi all,
may i know the name of below displayed control.
how can create this.
can i able to arrange images or text box inside the control.
Hi all,
can any one help me .
can any one provide me any code to create this ,sample apps or paths to refer.
i need to arrange images on to this.
is it possible to do?
The control you are looking at is a UIPickerView. Apple documentation covers this pretty well. It is possible to assign images to it.

Dynamic Data in an RDLC Report Footer across Multiple Pages

I created an RDLC report (based on a stored procedure) that contains lists. I need to display data from one of those lists in the report footer across every page. However this data only shows in a list on the first page, so that is the only page on which it shows in the footer also. I’ve researched this but haven’t found much information. Does anyone have a solution for this?
Something you can try, don't know for sure if it will work. Create a formula that returns the data you want to display, then put the formula field on a text area in the footer.
I ended up placing a textbox in the second page area, setting the text color to white and sending it to the back. If I hid the textbox (or table - I tried that too), the footer object could not reference it. So, setting the text color to white and placing it behind another object worked. It seems like this is a kludgy way to do a simple report operation but is apparently necessary.