Doubleclick event devlivers an api_event.t_event structure, which does contain the panel and grid's name, but not the name of the column/textfield the user doubleclicked. Where do I find it?

btw: getClickedGridColumnName() is empty(!) in the doubleclick event (as it only memorizes the most recent column HEADER click). getGridState() doesn't contan any focus or click revevant info either.

asked 12 Dec '14, 03:58

dipr's gravatar image

dipr
1561325
accept rate: 0%

edited 12 Dec '14, 04:22


Took me a while, that works:

Column:  api_application.getFocusedComponent( 'Y' )   -- click means it must have focus
Row:     api_datasource.getColumnValueTX( 'Datasource.Column', 
                       api_component.getSelectedRowid( 'PanelName.GridName' )  )
link

answered 12 Dec '14, 04:34

dipr's gravatar image

dipr
1561325
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×85
×16
×7
×6
×2

Asked: 12 Dec '14, 03:58

Seen: 1,031 times

Last updated: 12 Dec '14, 04:34


© Copyright Gerger 2017