Re: Get index from table widget [message #58681] |
Wed, 13 February 2008 13:23 |
ben.bighair
Messages: 221 Registered: April 2007
|
Senior Member |
|
|
On Feb 13, 4:14 pm, "skymaxw...@gmail.com" <skymaxw...@gmail.com>
wrote:
> On Feb 13, 6:21 pm, "ben.bighair" <ben.bigh...@gmail.com> wrote:
>
>
>
>> On Feb 13, 6:58 am, "skymaxw...@gmail.com" <skymaxw...@gmail.com>
>> wrote:
>
>>> Good day !
>
>>> I try to get index of row from TABLE widget.
>>> I set there possibility of multi selection.
>>> the keywords USE_TABLE_SELECT with GET_VALUE=some_var only return full
>>> records
>>> but i need index only (not values !!!)
>
>>> So, is there efficient tool for get index of my rows or i need use
>>> array manipulations to calc it ?
>
>>> Thanks
>
>> Hi,
>
>> This is from memory, but I think you want TABLE_SELECT ala...
>
>> selectionIndices = WIDGET_INFO(widgetID, /TABLE_SELECT)
>
>> Ben
>
> thanks for your reply
> i use your source code ...but it's a bit strange output...there is no
> selection indexes :(
Hi,
Perhaps you should show what you are doing (simplified) and what
results you are getting.
Ben
|
|
|
Re: Get index from table widget [message #58682 is a reply to message #58681] |
Wed, 13 February 2008 13:21  |
skymaxwell@gmail.com
Messages: 127 Registered: January 2007
|
Senior Member |
|
|
On Feb 13, 6:21 pm, "ben.bighair" <ben.bigh...@gmail.com> wrote:
> On Feb 13, 6:58 am, "skymaxw...@gmail.com" <skymaxw...@gmail.com>
> wrote:
>
>> Good day !
>
>> I try to get index of row from TABLE widget.
>> I set there possibility of multi selection.
>> the keywords USE_TABLE_SELECT with GET_VALUE=some_var only return full
>> records
>> but i need index only (not values !!!)
>
>> So, is there efficient tool for get index of my rows or i need use
>> array manipulations to calc it ?
>
>> Thanks
>
> Hi,
>
> This is from memory, but I think you want TABLE_SELECT ala...
>
> selectionIndices = WIDGET_INFO(widgetID, /TABLE_SELECT)
>
> Ben
sorry it's ok
just little strange output
thanks
|
|
|
Re: Get index from table widget [message #58683 is a reply to message #58682] |
Wed, 13 February 2008 13:14  |
skymaxwell@gmail.com
Messages: 127 Registered: January 2007
|
Senior Member |
|
|
On Feb 13, 6:21 pm, "ben.bighair" <ben.bigh...@gmail.com> wrote:
> On Feb 13, 6:58 am, "skymaxw...@gmail.com" <skymaxw...@gmail.com>
> wrote:
>
>> Good day !
>
>> I try to get index of row from TABLE widget.
>> I set there possibility of multi selection.
>> the keywords USE_TABLE_SELECT with GET_VALUE=some_var only return full
>> records
>> but i need index only (not values !!!)
>
>> So, is there efficient tool for get index of my rows or i need use
>> array manipulations to calc it ?
>
>> Thanks
>
> Hi,
>
> This is from memory, but I think you want TABLE_SELECT ala...
>
> selectionIndices = WIDGET_INFO(widgetID, /TABLE_SELECT)
>
> Ben
thanks for your reply
i use your source code ...but it's a bit strange output...there is no
selection indexes :(
|
|
|
Re: Get index from table widget [message #58693 is a reply to message #58683] |
Wed, 13 February 2008 07:21  |
ben.bighair
Messages: 221 Registered: April 2007
|
Senior Member |
|
|
On Feb 13, 6:58 am, "skymaxw...@gmail.com" <skymaxw...@gmail.com>
wrote:
> Good day !
>
> I try to get index of row from TABLE widget.
> I set there possibility of multi selection.
> the keywords USE_TABLE_SELECT with GET_VALUE=some_var only return full
> records
> but i need index only (not values !!!)
>
> So, is there efficient tool for get index of my rows or i need use
> array manipulations to calc it ?
>
> Thanks
Hi,
This is from memory, but I think you want TABLE_SELECT ala...
selectionIndices = WIDGET_INFO(widgetID, /TABLE_SELECT)
Ben
|
|
|