Selam arkadaşlar,
Infopower DBGridinde selected diye bir field tanımlayıp (selected özellikle yazılmalı en azından IP3000 de) bunu checkbox olarak gösterip kullanıcıların checkbox'ı işaretleme durumuna göre seçili kayıt kontrolü yapıyorum. Fakat başka bir proje için pek kullanmadığım QGrid (3.x) kullanma durumundayım. Quantum gridde bu tarz özellikleri olan sütunları nasıl tanımlamalıyım?
Selamlar
Mehmet
Quantum Grid içinde Checkbox?
Forum kuralları
Forum kurallarını okuyup, uyunuz!
Forum kurallarını okuyup, uyunuz!
Merhaba,
arşivimden aradım ve daha önce yapılmış bir örneğe rastladım. Pointer ile yapabiliyorsun ancak LoadAllRecords özelliği açık olmalı. Bu bilgiler Quantum Grid 3.2 için. Yazının orjinalini de bilgi olması açısından gönderiyorum, bir örnek uygulama var.
http://www.delphiturkiye.com/dsplus/m.p ... kBoxes.zip
arşivimden aradım ve daha önce yapılmış bir örneğe rastladım. Pointer ile yapabiliyorsun ancak LoadAllRecords özelliği açık olmalı. Bu bilgiler Quantum Grid 3.2 için. Yazının orjinalini de bilgi olması açısından gönderiyorum, bir örnek uygulama var.
http://www.delphiturkiye.com/dsplus/m.p ... kBoxes.zip
Kolay gelsin.“I have TdxDBGrid with columns bound to the underlying dataset. Now I want to add an extra column, which is not bound to the dataset, to allow a user to enter some information, which I can use to modify other columns.”
You may use the OnGetText or OnCustomDrawCell event for a column which does not have a underlying data field to display some data in a cell.
If you wish to store some kind of data in this column, you may use the Data (of the Pointer type) property of TdxTreeListNode. However, you can implement it only in LoadAllRecords mode. Use the OnRefreshNodeData event to allocate the memory for Data; use the OnDeletion event to release this memory.