October 22, 2018, 11:02:27 AM

See more Support incidents in our old archived forum.

Author Topic: To find right row with MouseDoubleClick in FlexyGantt.  (Read 167 times)

vtunc

  • Customers
  • Newbie
  • *
  • Posts: 8
To find right row with MouseDoubleClick in FlexyGantt.
« on: September 11, 2018, 08:40:05 AM »
Hi,

how can I get right row or row index with double click anywhere (ex. blank row) on GanttChart in FlexyGantt.

It can be as in Example

but row is blank and has not any Task or Item.

Thanks
Veysel
« Last Edit: September 11, 2018, 11:16:59 AM by vtunc »

ForumAdmin

  • Administrator
  • Jr. Member
  • *****
  • Posts: 83
Re: To find right row with MouseDoubleClick in FlexyGantt.
« Reply #1 on: September 12, 2018, 11:43:25 AM »
Hi Veysel,

We will respond back with more detail soon. But, to begin with note that currently you don't receive MouseDoubleClick events on the chart row because the rows are rendered transparent.

There are several ways to make the rows render with a bg color, to begin with try setting SyncRowBackgrounds="true" on the FlexyGantt in XAML, this will make the chart rows render with the same bg color as the grid rows and now you should start receiving MouseDoubleClick events - the e.OriginalSource will now be a control which will have a TaskListControl as an ancestor in the visual tree. The TasksListControl is what represents a row in the FlexyGantt.

Regards,
Praveen
RadiantQ Support

Rajagopal

  • RQ Members
  • Jr. Member
  • *
  • Posts: 99
Re: To find right row with MouseDoubleClick in FlexyGantt.
« Reply #2 on: September 18, 2018, 04:15:55 PM »
Veysel,

We have sent the reference sample to you with the requested changes. Please get it and let us know if you have any issues/queries.


Thanks
Raja