Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
570
Trouble with row height
posted

I have a select with a html tag:

strSQL="Select first_name + ' ' + last_name + ' <Br>City : ' + city as Employe from CG_Employe

Normaly when i fill the grid my row height is 20pixel  but with a <BR> tag my row height move to see all the information.

I want to always have 20pixel and when user move the mouse on cell he will see the rest of information with popup (tooltips).

I just buy the last version of infragistics. With my old version 2004 v1 i can do this thing easlily.

 Sorry for my english......im french


 

  • 45049
    posted

    Try setting your grid's DisplayLayout.TableLayout property to "Fixed".  It defaults to "Auto".

    When this property is set to "Auto", we expect that the browser will take any height or width information as a "suggestion," but that the browser will adjust the height of rows or width of columns as necessary to show all available data in an individual cell.

    When this property is set to "Fixed", we expect that the browser will take any height or width information as a "demand," and that the browser will usually obey this height and width regardless of whether individual cells have more data or not.  Some browsers may still adjust these heights or widths under some circumstances, but I've not seen any of these circumstances myself yet.

    Bonne chance.  Please let us know if this helps.