When I click at a slice of pie chart it moves and I get the value based on current row. It is ok, but if I do a click at the same slice, I receive an error: Datasource xxxx has no current row.

What can I do about this error? I am using the following sintax:

situation := api_datasource.getColumnValueTX('ds_pie_all_tickets.situation');

Thanks, Ricardo

asked 31 Aug '13, 07:08

Ricardo's gravatar image

accept rate: 0%

Hi Ricardo,

When you click a slice, it becomes the current row of the chart datasource. When you click the same slice again, the current row of the datasource is set to null since there is no more a selected slice in the pie chart. You can use api_datasource.getCurrentRowID API to check whether there is a current row in your datasource(selected slice in your chart).

if api_datasource.getcurrentrowid('ds_pie_all_tickets') is not null then
  situation := api_datasource.getColumnValueTX('ds_pie_all_tickets.situation');
end if;

Hope this helps,


answered 02 Sep '13, 03:07

Ibrahim%20Sandalli's gravatar image

Ibrahim Sand... ♦♦
accept rate: 25%

Your answer
toggle preview

Follow this question

By Email:

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



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



Asked: 31 Aug '13, 07:08

Seen: 1,865 times

Last updated: 02 Sep '13, 03:07

© Copyright Gerger 2017