Skip to main content

Hello,

I have a datagrid with multiple lines.
Select three of these lines.
How do I read the three lines I selected?

Thanks

Alberto Ferraz

Hello,

I have a datagrid with multiple lines.
Select three of these lines.
How do I read the three lines I selected?

Thanks

Alberto Ferraz

You can use the SelectedItems property of the dataGrid control as it will contain all of the selected rows.

Something like:

if dg1::SelectedItems::Count > 0

   perform varying myrow as type rowTemplate thru dg1::SelectedItems

       *> do what you like with each row...

   end- perform

end-if


Hello,

I have a datagrid with multiple lines.
Select three of these lines.
How do I read the three lines I selected?

Thanks

Alberto Ferraz

Thanks, you are the best...

I already try with Selecteditens property but not found the correct way.

Best regards

Alberto Ferraz


Hello,

I have a datagrid with multiple lines.
Select three of these lines.
How do I read the three lines I selected?

Thanks

Alberto Ferraz

Thanks, you are the best...

I've already try the Selecteditens property but don“t find the correct way.

Best regards

Alberto Ferraz


Hello,

I have a datagrid with multiple lines.
Select three of these lines.
How do I read the three lines I selected?

Thanks

Alberto Ferraz

Thnks, you are the best...

I've already try the Selecteditems property but not find the correct way. Now is ok.

Best regards

Alberto Ferraz