473,785 Members | 2,784 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 10315
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
AfterSelectChan ged and check to see if e.Type is UltraGridRow. I'd suggest
asking this in the infragistics.do tnet.windgrid newsgroup at
news.infragisti cs.com.

Ron Allen
"Nilz" <ma*******@yaho o.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.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 AfterSelectChan ge 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
AfterSelectChan ged and check to see if e.Type is UltraGridRow. I'd suggest
asking this in the infragistics.do tnet.windgrid newsgroup at
news.infragisti cs.com.

Ron Allen
"Nilz" <ma*******@yaho o.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.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*******@yaho o.com> wrote in message
news:O1******** *****@TK2MSFTNG P12.phx.gbl...
Hi Ron,
Thanks for replying. I tried your method but i am still not getting what i
want. In AfterSelectChan ge 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
AfterSelectChan ged and check to see if e.Type is UltraGridRow. I'd
suggest
asking this in the infragistics.do tnet.windgrid newsgroup at
news.infragisti cs.com.

Ron Allen
"Nilz" <ma*******@yaho o.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.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
6330
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 <ASP:DROPDOWNLIST ID="lbCountriesWiz" ENABLEVIEWSTATE="true" FONT-SIZE="8pt" ONSELECTEDINDEXCHANGED="ddlQueryProvinces" AUTOPOSTBACK="True" RUNAT="server" WIDTH="150px"></ASP:DROPDOWNLIST> Private Sub Page_Load(ByVal sender As System.Object, ByVal...
3
10106
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
433
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 if know anything plz tell me. Thanks Nilz ___ Newsgroups brought to you courtesy of www.dotnetjohn.com
4
2107
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
4442
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 allow scroll bars to display both horizontally and vertically? I tried using the card view and the varios settings with the card view to accomplish this. The info at Infragistics website states that the view area must be large enough to display...
2
4750
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 behind. I have set the borderStyle to none and the black lines go away, but there is still white space where the borders were. Following are my html files I am using to test it. ----------------BEGIN HTML FILE----------------
2
23958
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 release of the UltraWinGrid. When the user clicks on the 'Select All' button this code is selecting all rows in the grid. The grid has band(0) and band(1) (Parent and multiple children)
0
1318
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 method. how can i acheive in ultrawingrid??? Thanks.
1
1721
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 UltraWinGrid. The functionality of these buttons should be like "left"------>when we click "left" button,it should behave like clicking once on the horizontal scrollbar in ultrawingrid to left side. "right"---->when we click "right" button,it...
0
10152
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10092
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9950
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8974
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7500
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6740
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3650
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2880
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.