korasoglu Posted September 4, 2016 Share Posted September 4, 2016 Arkadaşlar Devexpress gridControl seçilen itemin verisini ve index numarasını nasıl alabilirim. Quote Link to comment Share on other sites More sharing options...
KintaRo Posted September 4, 2016 Share Posted September 4, 2016 int hnd = gridView1.FocusedRowHandle; // satir nosu string metin = gridView1.GetRowCellDisplayText(hnd, gridView1.Columns[2]); // seçilen satırın 3. kolonundaki metin Quote Link to comment Share on other sites More sharing options...
korasoglu Posted September 4, 2016 Author Share Posted September 4, 2016 hocam teşekkür ederim peki gridView1.GetRowCellDisplayText(hnd, gridView1.Columns[2]); // seçilen satırın 3. kolonundaki metin buraya veri göderecek olsam nasıl olmaalıdır. Quote Link to comment Share on other sites More sharing options...
KintaRo Posted September 5, 2016 Share Posted September 5, 2016 gridView1.SetRowCellValue(gridView1.FocusedRowHandle, gridView1.Columns[2], "merhaba"); Quote Link to comment Share on other sites More sharing options...
korasoglu Posted September 5, 2016 Author Share Posted September 5, 2016 İyiki varsın teşşekür ederim bir şeyleri merak ettikce inan artık gözler iflas etmeye başladı. Quote Link to comment Share on other sites More sharing options...
xmen14 Posted February 12, 2017 Share Posted February 12, 2017 GridControl de resim gösterme nasıl olur? Quote Link to comment Share on other sites More sharing options...
KintaRo Posted February 12, 2017 Share Posted February 12, 2017 2 saat önce, xmen14 yazdı: GridControl de resim gösterme nasıl olur? DataTable data = new DataTable(); data.Columns.Add("Img", typeof(Image)); data.Columns.Add("Adı"); data.Rows.Add(GridControl_ImageColumn.Properties.Resources.AddHeader_16x16, "Ali Veli"); data.Rows.Add(GridControl_ImageColumn.Properties.Resources.AddItem_16x16, "Ali Veli"); data.Rows.Add(GridControl_ImageColumn.Properties.Resources.AlignHorizontalBottom_16x16, "Ali Veli"); gridControl1.DataSource = data; bu iki şekilde yapılabilir. Birincisi üstte verdiğim gibi, vereceğiniz datasource'daki kolonun ve içindeki datanın tipi Image ise gridcontrol otomatik olarak resmi gösterecektir. 2. Yöntem ise sütunları daha önceden hazırlamak ve RepositoryItem kullanmak. Proje: Please register to see this content. Quote Link to comment Share on other sites More sharing options...
korasoglu Posted April 15, 2017 Author Share Posted April 15, 2017 (edited) Arkadaşlar gridcontrolde image sutununa cllik menu eklemek istiyorum left clikide gözükmesini ve tıklayınca çalıştırmak istedim yapamadım yardım ederseniz sevinirim. Edited April 15, 2017 by korasoglu Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.