Paul McNett пишет:
> Basil Shubin wrote:
>> I have continue my work of embeding dGrid widgets into existing 
>> project of mine that almost entirely based on XRC. My customers ask 
>> for following features:
>>
>> 1. How I can get possition of any columns in a table? Suppose user 
>> want to customize columns possitions and he/she want so that 
>> customisation will be saved. If it is possible than how I can set 
>> column positition in grid class when it was created on application 
>> startup? Meaning store column position number in a file, than read it 
>> on startup by dGrid class and repositioning according saved values. 
>> Any suggestion?
> 
> You get this "for free" when you use a full-blown Dabo app with a Dabo 
> Application object. The user can drag columns around, resize them, and 
> the changes "stick".

Is it save it states between sessions? If yes - how it done?

What event raised when column was change its position? How I can then 
take column index?

>> 3. How I can hide any existing column? A than again save it state and 
>> a class behind this grid should 'builded' according this customisation?
> 
> There isn't a Visible property for columns (perhaps there should be). 
> You can call grid.removeColumn(columnIndex).

Than how I can return removed column back? How to show it again?

-- 
Basil Shubin
Freelance Software Developer


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to