
deva subramanian
Top achievements
Rank 1
deva subramanian
asked on 05 Apr 2011, 12:07 PM
Hi Telerik,
I have a Radgridview with combo box column . consider i have 3 rows.
in the first row am selecting some value like "x" from the combobox column ,
then when i select the same value "x" in the second row , i should say the value x is already selected
i guess we have to loop the columns across the gridview .... could anybody provide some idea
Thanks in Advance
Dev
I have a Radgridview with combo box column . consider i have 3 rows.
in the first row am selecting some value like "x" from the combobox column ,
then when i select the same value "x" in the second row , i should say the value x is already selected
i guess we have to loop the columns across the gridview .... could anybody provide some idea
Thanks in Advance
Dev
4 Answers, 1 is accepted
0
Accepted

Richard Slade
Top achievements
Rank 2
answered on 05 Apr 2011, 06:42 PM
Hello
Yes, you would need to itterate over teh rows to find the values. (see this help topic) you may also find this help topic on data validation of use.
Hope that helps
Richard
Yes, you would need to itterate over teh rows to find the values. (see this help topic) you may also find this help topic on data validation of use.
Hope that helps
Richard
0

deva subramanian
Top achievements
Rank 1
answered on 06 Apr 2011, 07:12 AM
Thanks Richard,
its working..fine . I need another help am allowing the user to edit the gridview they have the combo box column too.
when they entered the last columns and they move over to another control the gridview automatically creating new rows, how to handle this situation and when i choose something from combo column the row expanding (resizing) how to avoid resizing. i have set the properties like allow row resize=false,
but still no luck...
please assist thanks in advance,
Dev..
its working..fine . I need another help am allowing the user to edit the gridview they have the combo box column too.
when they entered the last columns and they move over to another control the gridview automatically creating new rows, how to handle this situation and when i choose something from combo column the row expanding (resizing) how to avoid resizing. i have set the properties like allow row resize=false,
but still no luck...
please assist thanks in advance,
Dev..
0
Accepted

Richard Slade
Top achievements
Rank 2
answered on 06 Apr 2011, 09:29 AM
Hello,
As you have suggested, you can stop rows from being resized by setting the AllowRowResize property to false.
You can also control how the enter key behaves in terms of adding and editing rows. E.g.
Please remember to mark the original answer to your first question as answer and if you need further help, please let me know
Regards,
Richard
As you have suggested, you can stop rows from being resized by setting the AllowRowResize property to false.
this
.radGridView1.AllowRowResize =
false
;
You can also control how the enter key behaves in terms of adding and editing rows. E.g.
this
.radGridView1.NewRowEnterKeyMode = RadGridViewNewRowEnterKeyMode.None;
Please remember to mark the original answer to your first question as answer and if you need further help, please let me know
Regards,
Richard
0

deva subramanian
Top achievements
Rank 1
answered on 07 Apr 2011, 08:23 AM
Hi Richard,
Still am facing the same issues , please find the attached screenshot.
*From test1 the problem is when i type some value in column 9( ex :1) then when i switch the focus say i click on button test , automatically new row is created...which is show in test2 img. how to avoid unnecessary row creation ?
* when i choose some thing in combocolumn (column3) the row get expanding , u can see in test2 img i dont know how to handle . i have set the properties like
but no luck. kindly reply me the solutions for the above issues
Thanks in Advance
Dev..
Still am facing the same issues , please find the attached screenshot.
*From test1 the problem is when i type some value in column 9( ex :1) then when i switch the focus say i click on button test , automatically new row is created...which is show in test2 img. how to avoid unnecessary row creation ?
* when i choose some thing in combocolumn (column3) the row get expanding , u can see in test2 img i dont know how to handle . i have set the properties like
this
.radGridView1.AllowRowResize =
false
;
this
.radGridView1.NewRowEnterKeyMode = RadGridViewNewRowEnterKeyMode.None;
but no luck. kindly reply me the solutions for the above issues
Thanks in Advance
Dev..