|
<< Click to Display Table of Contents >> Navigation: Telegram > 2020 > 07 > 23 > Telegram_2020-07-23T14 |
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.
2020-07-23T14:01:25
Fdquery.recno:=aRow;
2020-07-23T14:02:24
AField := fdquery.fields[Acol]
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.
2020-07-23T14:04:15
You mean iwgrid?
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
2020-07-23T14:07:53
Just use OnCellClick you will get aRow and aCol values.
2020-07-23T14:08:13
Ok thanks
2020-07-23T14:08:36
I will let you know
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