473,320 Members | 1,990 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,320 software developers and data experts.

UltraWinGrid Selected Row BorderStyle???

Hi Guys,
Do anyone know how to change the BorderStyle of the selected row .
I tried using the Band Property of the UltraGrid
but the change is applied to each and every Cell in the Grid.
Anybody if know anything plz tell me.
Thanks
Nilz

___
Newsgroups brought to you courtesy of www.dotnetjohn.com
Nov 16 '05 #1
3 10279
Nilz,
You can find the selected row(s) using myGrid.Selected.Rows[index] where
index is 0 based and then possibly change the appearance. Add a handler for
AfterSelectChanged and check to see if e.Type is UltraGridRow. I'd suggest
asking this in the infragistics.dotnet.windgrid newsgroup at
news.infragistics.com.

Ron Allen
"Nilz" <ma*******@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hi Guys,
Do anyone know how to change the BorderStyle of the selected row .
I tried using the Band Property of the UltraGrid
but the change is applied to each and every Cell in the Grid.
Anybody if know anything plz tell me.
Thanks
Nilz

___
Newsgroups brought to you courtesy of www.dotnetjohn.com

Nov 16 '05 #2
Hi Ron,
Thanks for replying. I tried your method but i am still not getting what i want. In AfterSelectChange event we get e.Type which is not used to change the row looks, the another ption is to use the Override property of the grid, but that changes the look of complete grid. i posted this query on the Infragistics newsgroup but still havn't got the solution.

Nilz,
You can find the selected row(s) using myGrid.Selected.Rows[index] where
index is 0 based and then possibly change the appearance. Add a handler for
AfterSelectChanged and check to see if e.Type is UltraGridRow. I'd suggest
asking this in the infragistics.dotnet.windgrid newsgroup at
news.infragistics.com.

Ron Allen
"Nilz" <ma*******@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hi Guys,
Do anyone know how to change the BorderStyle of the selected row .
I tried using the Band Property of the UltraGrid
but the change is applied to each and every Cell in the Grid.
Anybody if know anything plz tell me.
Thanks
Nilz

___
Newsgroups brought to you courtesy of www.dotnetjohn.com



___
Newsgroups brought to you courtesy of www.dotnetjohn.com
Nov 16 '05 #3
Nilz,
You need to compare e.Type to see what has been changed. If it is an
UltraGridRow then the row selection has been changed and you can get the
currently selected row(s) as described before. I'm not sure if it is
possible to change the border of just a single row though as I haven't
needed to do this anywhere.
Usually someone answers in Infragistics but a lot of people may be out
on vacation at this time.
Ron Allen
"Nilz" <ma*******@yahoo.com> wrote in message
news:O1*************@TK2MSFTNGP12.phx.gbl...
Hi Ron,
Thanks for replying. I tried your method but i am still not getting what i
want. In AfterSelectChange event we get e.Type which is not used to change
the row looks, the another ption is to use the Override property of the
grid, but that changes the look of complete grid. i posted this query on
the Infragistics newsgroup but still havn't got the solution.

Nilz,
You can find the selected row(s) using myGrid.Selected.Rows[index]
where
index is 0 based and then possibly change the appearance. Add a handler
for
AfterSelectChanged and check to see if e.Type is UltraGridRow. I'd
suggest
asking this in the infragistics.dotnet.windgrid newsgroup at
news.infragistics.com.

Ron Allen
"Nilz" <ma*******@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hi Guys,
Do anyone know how to change the BorderStyle of the selected row .
I tried using the Band Property of the UltraGrid
but the change is applied to each and every Cell in the Grid.
Anybody if know anything plz tell me.
Thanks
Nilz

___
Newsgroups brought to you courtesy of www.dotnetjohn.com



___
Newsgroups brought to you courtesy of www.dotnetjohn.com

Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: DC Gringo | last post by:
I'm having such a problem with this DropDownList in a user control that is posting back and throwing an error: System.Web.HttpException: A DropDownList cannot have multiple items selected ...
3
by: newsgroper | last post by:
I am evaluating the infragistice ultrawingrid. Does anyone know how I can color a row based upon a column value?
0
by: Nilz | last post by:
Hi Guys, Do anyone know how to change the BorderStyle of the selected row . I tried using the Band Property of the UltraGrid but the change is applied to each and every Cell in the Grid. Anybody...
4
by: wolfgang wagner | last post by:
hi all! after successfully integrating a dropdownlist in my datagrid i have another problem: i cannot set the selected index of the dropdownlistbox. here is my code: hardware.aspx...
1
by: Steve Stratton | last post by:
Does anyone know how to display data in the UltraWinGrid control by Infragistics so that I can display 30+ columns and have the columns headers go down the left hand side of the control and to...
2
by: spifster | last post by:
Hello all, I am building a collapsable tree using Javascript with DOM in IE. In order to make collapsed cells disappear I have been hiding the text. The cells collapse but still leave borders...
2
by: Ettenurb | last post by:
I was hoping someone has come across this and came up with a solution. We have upgraded our custom software to us Infragistics UltraWinGrid 2006 CLR 2.0. The code below worked with a previous...
0
by: santhoshcz | last post by:
hi all, I am using ultrawingrid(Infragistics control) . I want to search for a string in the grid.It seems there is no direct provider for that.But il ultrawebgrid they are provided the find...
1
by: silpa | last post by:
Hi, I have created a VS 2008 Windows Application.I placed an UltraWinGrid on the form which displays records from a table say "emp". I placed two buttons named "left" and "right" above the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
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...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.