Questions tagged [datagridviewcolumn]

In WinForms DataGridViewColumn class represents a column in a DataGridView control.

In WinForms DataGridViewColumn class represents a column in a DataGridView control.

516 questions
0
votes
0 answers

compare times, one from datagridview cell and another time

I will try to explain my problem as clear as i can, my English not perfect, hope u can understand me. I have database contains some data, i load the data via VB.net in datagridview, everything ok so far. I have a column contains time records, for…
Osama Gadour
  • 177
  • 2
  • 17
0
votes
0 answers

Uncaught Error: jqxGrid: Missing references to the following module(s): jqxgrid.edit.js

i am trying to make editable columns in jqxgrid. But i am having the error Uncaught Error: jqxGrid: Missing references to the following module(s): jqxgrid.edit.js but as you can see from below i have used the reference jqxgrid.edit.js , i also have…
0
votes
1 answer

jqxgrid not loading data

I am trying to lead data from my controller. The queries work right but i cant seem to load the data in the view. If anyone can see my mistake, i will appreciate it. controller public ActionResult GetItemList(int RRGroupID) { …
0
votes
0 answers

Issue in DatagridView Combobox selecting value

i have the XML which i am assigning to the datagridview combobox, in which 5 values are there, all values are having same CountyName but different CountyID. 25
0
votes
1 answer

Setting DataGridView.RowCount to NumericUpDown.Value adds extra column

So I have a form on which I have a NumericUpDown control (I'll call it my num picker), and a DataGridView (I'll call it my grid). My grid is currently unbound and I manually added columns to it in design, and when I run my form it's all fine. So…
Andy
  • 616
  • 11
  • 32
0
votes
2 answers

How to safely give my function without making my main form stuck

I have made a WPF application which has a button to move some files attached to the column cells from one column to another column. The moment when I press the button it shows a nice animation and moves all files to the next column's cells. But my…
user4318274
0
votes
1 answer

Inherit DataGridViewColumn is not shown in Properties from the datagridview

I have an custom DataGridViewFormColumn, which inherit from DataGridViewTextBoxColumn, but you can't choose it in the Properties From the Columns in the "Edit Columns" Dialog. Can anyone explaine this?
0
votes
1 answer

Search in Access Database table VB .Net

I have some problem to get data from table (ms-access databse) to show in my searchbox.text. The 'websiteTable' contains 14 columns (website name, website url, password, first name, gender ....and so on) I have this test code but it not find…
Brandon
  • 11
  • 7
0
votes
1 answer

Some columns in a DataGridView is readonly

Is it possible that only selected columns in a datagridview is readonly? If so, how should I do it?
engrmonkey
  • 33
  • 6
0
votes
1 answer

mysql query to display row data in one column

I wrote query like SELECT SUBSTRING_INDEX(inter.CHR_SKILLLEVELS, ',', 1) AS level1, IF(@num_lines > 1, SUBSTRING_INDEX(SUBSTRING_INDEX(inter.CHR_SKILLLEVELS, ',', 2), ',', -1), '') AS level2, IF(@num_lines > 2,…
user3898783
  • 207
  • 1
  • 4
  • 16
0
votes
0 answers

Pass List as DataGridView DataSource
I would like to pass a List to a DataGridView but the Contact class includes one more list and it doesnt displayed. this.dgvCsv.DataSource = settings.Contacts; The class public class Contact { [DisplayName("Név")] …
Smiley
  • 68
  • 6
0
votes
4 answers

How can I get the value of a given column for the selected row in a DataGridView?

Knowing the name of the column to be queried, how can I extract the value from that column for the currently selected record in a DataGridView? IOW, if I have a DataGridView with columns named id, Date, Time, Space, and I want the value of the…
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
0
votes
1 answer

Showing a DataGridViewColumn in the DataGridView column type picker

I am working on a C# WinForms project that was using a large number of DataGridViews. Because I needed some custom functionality, I have extended the DataGridViewColumn into a class called ExtendedDGVColumn. I want to be able to select it when…
0
votes
1 answer

Selecting only Text in ImageandText Datagridview column

i'm displaying some rows in DatagridView which will have first column as ImageandText.when user selects any row i would like to select till the cell with text portion by keeping the image background as white. Code used for displaying the image and…
Sudhakar Tillapudi
  • 25,935
  • 5
  • 37
  • 67
0
votes
0 answers

How to make individual cell readonly of datagridview?

I have a datagridviewin my winform. I want to make individual cell of this datagridview noneditable on a specific condition. for this i have tried two methods but any of these not functioning well for me. Here is the code private void…