Telegram_2020-07-23T14

<< Click to Display Table of Contents >>

Navigation:  Telegram > 2020 > 07 > 23 >

Telegram_2020-07-23T14

Telegram link

 

2020-07-23T14:00:52

 

it's easy row is the record number and column is the column in the same order you filled the iwgrid.

 


 

Telegram link

 

2020-07-23T14:01:25

 

Fdquery.recno:=aRow;

 


 

Telegram link

 

2020-07-23T14:02:24

 

AField := fdquery.fields[Acol]

 


 

Telegram link

 

2020-07-23T14:03:28

 

In case of aCol you should know previously or have and index to what col number each field will have, in case you are not showing all the fields of the query in the grid or if are in different order.

 


 

Telegram link

 

2020-07-23T14:04:15

 

You mean iwgrid?

 


 

Telegram link

 

2020-07-23T14:06:34

 

Yes IWGrid. First I need to now if I still need a jjquery function in my template or just use onclick event of IWGrid to return the value of the cell

 


 

Telegram link

 

2020-07-23T14:07:53

 

Just use OnCellClick you will get aRow and aCol values.

 


 

Telegram link

 

2020-07-23T14:08:13

 

Ok thanks

 


 

Telegram link

 

2020-07-23T14:08:36

 

I will let you know

 


 

Telegram link

 

2020-07-23T14:09:40

 

Just remember that if you use a Tdataste to fill the iwgrid. You should have the same field count and order that you use to fill the iwgrid. So it is easier for you to find the field value