473,379 Members | 1,185 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

Selecting columns in flexgrid

Hi Friends,
I am using MS Flex Grid to populate some data. But when the control reaches the grid only one of the columns is selected(not the whole row). Can anybody have any idea how to rectify this.
Jul 20 '07 #1
7 4390
hariharanmca
1,977 1GB
Hi Friends,
I am using MS Flex Grid to populate some data. But when the control reaches the grid only one of the columns is selected(not the whole row). Can anybody have any idea how to rectify this.

can you post what you done?
Jul 20 '07 #2
Killer42
8,435 Expert 8TB
I am using MS Flex Grid to populate some data. But when the control reaches the grid only one of the columns is selected(not the whole row). Can anybody have any idea how to rectify this.
You may need to change the AllowBigSelection property. And possibly SelectionMode as well.
Jul 20 '07 #3
hariharanmca
1,977 1GB
You may need to change the AllowBigSelection property. And possibly SelectionMode as well.

can i get the purpose of AllowBigSelection?

Because, i am not finding any difference for True and False of AllowBigSelection.
Jul 20 '07 #4
Killer42
8,435 Expert 8TB
can i get the purpose of AllowBigSelection?

Because, i am not finding any difference for True and False of AllowBigSelection.
I only know what it says in the doco.

Returns/sets whether clicking on a column or row header should cause the entire column or row to be selected.
Jul 20 '07 #5
I have checked Allow Big Selection.
But it does not help whether the value is True of False
Jul 20 '07 #6
can you post what you done?
Ok IN Form_Load Event I have just set the flexgid as:

With flxViewBOM
.width = 3000
.Cols = 2
.COLWIDTH(0) = 750
.COLWIDTH(1) = 2000
.TextMatrix(0, 0) = "SlNo"
.TextMatrix(0, 1) = "Service"
End With

And then I have Populated the Grid.

But when i press view to select the service then only the First Column(Sl No.) is selected.
Jul 20 '07 #7
Killer42
8,435 Expert 8TB
Not sure what you mean about "pressing view", but I've just had a play with the flexgrid and can confirm the following...

AllowBigSelection determines whether clicking on the column header or the fixed rows (if any) at the start of the row select the entire column or row. This is probably not what you want.

SelectionMode seems to do what you want. If you set it to "1 - flexSelectionByRow" then whenever you click on a row it selects the entire row.
Jul 21 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: TonyMJ | last post by:
Hi, is it possible to SELECT a column by number rather than name? I can't find this anywhere in the manual. It's for a generalised function on a set of tables with different fieldnames where I...
5
by: Axial | last post by:
Question: How to select columns from Excel-generated XML when some cells are empty. I've found examples where rows are to be selected, but I can't seem to extrapolate from that to selecting...
4
by: VR | last post by:
I am trying to embed a check box into a FlexGrid's cell, but having a problem when I start scrolling the grid. Here is my MyCheckBox class... class MyCheckBox : CheckBox { void Init (...
9
by: JFB | last post by:
Hi All, I have a edit flexgrid, after to fill with different rows manually. How can I insert the rows of my flexgrid to my table (sql server) using ado.net? Any example? I can insert one row...
2
by: Jerry LeVan | last post by:
Hi, Is there any generic to select columns by position ie select the first, third, and fifth columns from .... I can't see anything in SQL...not to sure about PL/PgSQL... Thanks
0
by: conckrish | last post by:
Hi all, Can anyone tell me how to Resize a Microsoft FlexGrid control Version 6 in windows forms?When I resize the flexgrid, the rows and columns of the Grid should also resized.. Plz help me.....
1
by: kasthuriii | last post by:
please tell me how to add and delete rows and columns in flexgrid in vb.net. please give me some sample programs using flexgrid if possible.
8
by: nairda | last post by:
Hi all, Is it possible to do a mathematics operation on Flexgrid data? Example: In Flexgrid I have 2 columns, with 10 rows of data each. I want to sum all the rows in column 1. Is thera any way to...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.