Embedded images disappear on column sorts when viewing SSRS via url in an iframe

RE:   SQL Server - 2008 R2  Reporting Services
We deliver an ASP.Net MVC (5) application and some of the views show/display SSRS report via url in an iframe (so the report is displayed vi the web viewer).   There are images in the header of some of these reports which display correctly on the initial
view, but "disappear" when the user uses a report column sort and/or changes the report zoom (via the SSRS web viewer toolbar). There are other quirky behaviors as well (depending on the browser), but we are dealing with IE versions 8 thru 11.  I've
already set the ReportViewer.aspx to use <meta http-equiv="X-UA-Compatible" content="IE=7">, and our application pages/views use <meta http-equiv="X-UA-Compatible" content="IE=edge">.
Does anyone have a "fix" for this? I know it's related to the ReportViewer.aspx and displaying the report(s) in an iframe, but I can't seem to find any information on how to fix the issue.

Hi,
According to your description, when you preview report through url in an iframe, the embed images can be displayed, images can’t be displayed after users used sort and changed report zoom.
To troubleshoot the problem, please refer to the following steps:
Run the report in Business Intelligence Development Studio (BIDS) to make sure that the images can be displayed correctly.
The issue may be relevant to compatibility of browser, please use different browser to check whether the issue persists.
If you are using embedded image of jpg type, please change the extension of the image to png.
Set the ReportViewer.aspx to use <meta http-equiv="X-UA-Compatible" content="IE=8">.
Here is a relevant thread you can reference:
https://social.technet.microsoft.com/Forums/en-US/56650bf4-e65d-4f84-8ac0-a57cb26543b2/image-disappears-when-sorting-in-ssrs-for-server-report-on-report-vieweron-aspx-page?forum=sqlreportingservices
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu
If you have any feedback on our support, please click
here.
Wendy Fu
TechNet Community Support

Similar Messages

  • I have Windows 7, Microsoft Outlook and PSE 13. I have used the "Share photos as embedded images" feature frequently, but today when I went to use it, it wasn't there, only the option to send email with files attached. How do I get back the ability to sen

    I have Windows 7, Microsoft Outlook and PSE 13. I have used the "Share photos as embedded images" feature frequently, but today when I went to use it, it wasn't there, only the option to send email with files attached. How do I get back the ability to send emails with photos embedded. I like adding the frames and backgrounds and I think it's easier for recipients to look at the photos. Thanks for any suggestions of things to try.
    Gail

    I had a similar problem in that my wife's iphone 5 could not send pics with imessage.  Had to set the settings to default to SMS or whatever.  After laboring many hours on the web I coincidentally was on the phone with the internet people to question my internet speed.  They changed the router channel, which is something that I am capable of doing myself.  After that, the pics go over imessage.  My own Iphone didn't have the problem.  We are both latest IOS 7.0.6.

  • Data columns overflow when viewing in HTML or infoview

    Hopefully there's a simple answer for this.  I have several reports created in Crystal 2008 or XI R2 that sporadically display data incorrectly when viewed via either HTML view or published to BOE XI 3.1 and viewed in infoview.
    The symptom is when data fields are longer than the field size defined, they will overflow into the adjacent columns and overwrite the next column.  When previewed in Crystal or exported to pdf, etc they look fine and will truncate the data at the defined field width.  I don't want to turn on the 'can grow' and take up additional lines, I need it to truncate the data at the specified length.
    any idea's?

    thanks Raghavendra.  That didn't actually work as It had no impact on the html rendering, the column still overflowed It also had the negative impact of truncating the PDF and other formats at the first space character in the string, but your suggestion lead me to a solution.
    I found that by setting the fields 'text interpretation' to either html or RTF instead of 'none', that the truncation would work as desired in the html viewer.  Not sure why this would be so, but it fixes my issue. Seems like kind of a bug to me though.
    thanks for the response though
    Doug

  • How to increase the column width when viewing a spreadsheet created by a concurrent request

    I have created a BI Publisher template to display the output from scheduled discoverer reports. It contains sixty three columns and the heading for each one is a variable but, in order to fit these on the page, each column is about a half a centimeter wide.
    When I use the Preview Template option from the RTF file and select Excel the columns are automatically sized to accommodate the data (which is what is required). However, when I upload the template and run a concurrent request and view the output, each column is shown as half a centimetre in width so the user can see very little of the data without resizing all columns. We do not think that this will be acceptable to our users.
    We are using Excel 2010 in both cases.
    I have looked at this forum and tried a few things without success so any help will be gratefully received.

    for ebs 12.1.3 you can create excel template by bip desktop 11
    i used bip desktop 11.1.1.5 with ms office 2010 for create excel template for ebs 12.1.2 and 12.1.3
    using excel template based on what do you want to do - if report contains complex visualization or many merging of cell and etc
    for starting
    https://blogs.oracle.com/xmlpublisher/entry/real_excel_templates_i
    Creating Excel Templates - 11g Release 1 (11.1.1)

  • Image previews do not appear when viewing RSS feed in Mail, why not?

    When I view the Cult of Mac RSS feeds on my old white Macbook I get the image previews displayed right away in Mail but on my 2010 MBP there is just a question mark where the image should be. Any idea how I can get the images to appear on my MBP?
    When I click to 'read more' and the page opens fully in Safari the images are viewable.
    cheers
    Simon

    Sure Thing...This is a screenshot of the Slider Menu with the buttons to the social media as they should be. Note: this is a screen shot taken from a "preview in browser" (Chrome) through Muse. When it builds and uploads, I no longer see the buttons and there is no hover state as there should be. Hope this helps-

  • Accessing ressources (css,images, scripts...) in portal archive via URL?

    Hello!
    I have created a par file with the following PAR-Archive:
    *.par
      ¦
      +---meta-inf                Automatically generated.
      ¦
      ¦                           All files and folders in the root folder are deployed as public. This usually includes resources,
      +---images                  images,
      +---css                     css,
      +---scripts                 JavaScripts etc.
    According to the documentation, you can access all folders in the archive. But in which way??? The URL looks like this:
    http://bbmag34.bbmag.aldi.com:50000/irj/servlet/prt/portal/prtmode/preview/prtroot/pcd!3aportal_content!2fALDI!2fcom.aldi.extranet!2fcom.aldi.iviews!
    2fcom.aldi.extranet.iview.flex-integrator-text <- i tried to add !2fscripts!2fhallo.txt (which i copied to the scripts directory) but nothing happened.

    Hi Björn,
    maybe this will help...
    public static String getImageUrl(IPortalComponentRequest request) {
              HttpServletRequest httpRequest = request.getServletRequest();
              StringBuffer buf = new StringBuffer(1024);
                                    String prot = (httpRequest.isSecure()) ? "https://" : "http://";
                                    buf.append(prot)
                                      .append(httpRequest.getServerName())
                                      .append(":")
                                      .append(httpRequest.getServerPort())
                .append(request.getWebResourcePath())
                                      .append("/images/");
              return buf.toString();
    Regards,
    Jens

  • Why does my image disappear when I create a slice?

    I am trying to create a simple rollover where the font size is changed when the mouse hovers over the link. When I create a slice of the text area, the image disappears. Can anyone tell me why and how to correct this? I have viewed several tutorials, so I am confident that I have created the 2 states properly and am applying the slice correctly, but for some reason the image disappears in both states when I do.

    Thanks, Jim. Can you tell me how I can determine if I have the correct slice type selected (image vs HTML)?

  • Highly pixelated image when viewing at 100%

    Dear Forum:
    I'm using Aperture 3.0.1 on a MacBook Pro 2.53 GHz Intel Core 2 Duo; 4GB 1067 MHz DDR3. Using Mac OS 10.6.2.
    I'm making a photobook, extra large size. I placed an image in a photo box that covers the entire page (in other words, the photo has no borders) When I look at it in 100% view. The image is startlingly pixellated as if it's a low res image (The image is not a super-cropped image of the original) Will the book print out that way or is it okay for the image to look low res when making the book?
    Thanks,
    Steve

    Dear Thomas,
    I don't see the yellow triangle on the image which is good. But the image is nevertheless low res when viewed at 100%. If I move the image in one or two directions, the image clears up and becomes sharp as it should be. But, when I come back to image after working on another page, and do 100%, the image is once again low res. I'm wondering if this is just a preview issue or if it will actually affect the PDF file that will eventually by generated for printing.
    Thanks,
    Steve

  • My apple TV will not show my iPhotos travel photos in sequence. I set up a sequence of photos that STAY in sequence when viewing in iPhoto on my iMac, but they do not show in sequence when my Apple TV shows them on my TV screen. My Apple TV is MC 572C/A

    My Apple TV will not show my photos in iPhoto on my iMac in the same sequence of images that I can see when viewing the iPhoto photos on my iMac. This is especially frustrating when I try to show my travel pictures in sequence on my TV. I have to resort to showing them on my iMac which defeats the principle purpose for purchasing my MacTV. Does anyone have a solution?
    My Apple TV is Model MC 572C/A and the software is 5.2.1 (6025)
    My iMac is Mac OSX version 10.7.5
    THANKS!
    Doug May

    I can't recall whether slideshows are ordered by title or date, but you can manually re-arrange the albums in iPhoto, then batch change them once you have the order you want.

  • Sql server reporting services + export to excel + embedded images

    Hi all,
    i got a problem when exporting to excel in ssrs 2008.
    i use embedded image in the report. but when i export the report to excel, image is being exported but its width is being changed to size 0 .
    but when i click on it and expand it explicitly in excel it is being expanded .
    how to make the image by default to its actual width?
    how to fix this problem ?

    Hi sudeep Puvvadi,
    Based on the information posted, I have a test with SQL Server Reporting Services 2008 (SSRS2008) and Microsoft
    Excel 2010 by the following steps:
    From the Toolbox window, drag the image to the top edge of the design surface.
    In the image Properties dialog box, select Embedded from the Select The Image Source drop-down list.
    Click import, and select a BMP file from my local computer.
    Right-click the image, select Image Properties. In Size category, select Original size.
    Export the report to excel.
    When opening the excel file, the image displays with original size rightly. So I suggest you to add an image with
    the same steps above, then checking whether the image shows correctly. If it still cannot work fine for you, could you please give me a feedback and tell me related settings, so that I can reproduce the scenario exactly and provide further assistance?
    Thanks,
    Lola Wang
    Please remember to mark the replies as answers if they help.

  • Folio images disappear when viewed in content viewer

    Hi, I am currently having a problem with most of the pdf images in the folio disappearing when viewed in content viewer on the iPad.
    I'm using Adobe CS5.5 in layouting the folio.
    Does anyone know how to fix this problem? Thanks.

    If the images are visible when previewing through Folio Preview option, try reinstalling Folio producer tools and Folio builder Panel and reinstall Adobe content viewer. That might fix this.

  • Embedded files 'disappear' when viewing signed version of a document

    Hello,
    We've just come across a weird issue when viewing signed documents containing embedded files in Adobe Reader. If we use the 'Click to view this version' link in the Signatures panel, the embedded files are not shown in the Attachments panel, even though they are covered by the signature.
    I've uploaded a sample document that illustrates the issue to Google Drive, here is the link: https://drive.google.com/file/d/0B1wk9toh5e7AZVBIb2V6a2lDMWM/view?usp=sharing
    Thanks,
    Ken

    "View this version" comes with a disclaimer in the top bar that most functions are disabled in this view. If attachments are shown in the "Attachments" panel, then they can be opened
    (otherwise what's the point to show them at all), and Acrobat uses a default app for this MIME type (i.e. Notepad for .txt files) to open it and has no control what the user could do there. User could definitely copy this file to a different location and this is akin to copying some of he PDF's content which is a prohibited operation in this view.
    You can treat the disclaimer in the top bar as the Adobe official statement along with my read on what it means with respect to annotations.
    IMO to "View this version" for the last signature when there are no changes after the file was signed is meaningless because both versions are identical. It is only when some changes were made after a signature that you may want/need to view the signed version.

  • Images "Disappear" When Moving a Project But Really They'r e Just Invisible

    Last night I imported 442 images into a new project. I rated them, and edited about 40-50. This morning I moved the project within the same library. When I did so, all the images disappeared, sort of. The project appeared empty. I let it sit a couple of minutes, and undid the move to no effect.
    I checked to see if a filter was blocking the images but it was not the problem. I checked the Project properties and it showed the images were all there (plus, I use referenced files and I hadn't deleted the CF card so worst case scenario I had all my originals). Also, when I displayed all the projects in a browser view window, the project showed up and I could sweep through all the thumbnails in the project browser. But again, if I selected the project and tried to see the images in either the browser, viewer, or split view, nothing showed up. No thumbnails, no file names, no empty thumbnails, nothing. The photos were sort of invisible.
    I "solved" the issue by moving an image - any image - from another project into the problem project. Suddenly that photo and all the other images, were visible. Removing the random image did not recreate the problem.
    Since I no longer have the problem I'm posting for 2 reasons: (1) to publish the problem and my fix in case anybody gets the same problem, and (2) to see if anybody knows what caused this and if there is a more direct fix than my weird indirect fix. Thanks.

    I have had the same thing happen consistently. I import images into a default project. Then when I move the project into an organizational folder... all the images disappear. After a couple of panics, I have now realized that if I stay calm, close Aperture, then open it again, the pictures are all present. Quite a pain in the butt, but at least there is a work around. Albeit a bit scary .
    Best,
    Jim

  • Why do images within a PDF look jagged when viewed in Acrobat Pro 10.1.6?

    Using a MacBook Pro running Mac OS version 10.7.5 with NVIDIA GeForce GT 650M 1024 MB graphics card. High-resolution source images look fine in other software, and embedded images in a PDF look fine when viewed on Google Drive, but curves and diagonal lines look jagged when viewed in Acrobat Pro 10.1.6. Checking smoothing options in Preferences only adjusts the position of the jagged edges; it neither enhances nor ameliorates them.
    I created a sample PDF to illustrate the problem I'm having. Created in illustrator, exported to PNG and converted to PDF. Here is a screenshot of the source PNG side-by-side with the PDF I created from it:
    Please note that when I preview the PDF in Finder, and when I view the PDF in Chrome using Google Drive, the image looks fine. Here's a link to the sample PDF:
    http://www.sendspace.com/file/77f5m6
    Any assistance is appreciated. Thanks!

    Unfortunately, as I mentioned in my original post, I've already tried toggling smoothing options. They don't make the jagged edges go away—they just change them slightly. In some cases, as with the sample file provided, it does help smooth the art out, but it never looks as good as it did going in, in a recent project, toggling smoothing options didn't affect the appearance of the image at all. Zoom does not appear to relieve the artifacting.
    A little clarification: this PDF was created from a flat PNG, but I have had this issue with PNGs and TIFFs as well, generated by both Photoshop and Illustrator. To reiterate, the PDFs display fine in other software—Finder preview looks great, and the same file viewed in my browser via Google Drive looks as intended as well. A colleague was able to replicate this issue in Acrobat on his Windows machine. This appears to be a rendering issue specific to Acrobat with regards to the files I use it to create.

  • PrintDataGrid's DataGridColumn - Embedded image not printing when you use TextFlow in the item rende

    I'm printing a datagrid using something like  this...
    <mx:PrintDataGrid
      id="printDataGrid" 
      width="100%" 
      height="100%"
      showHeaders="false"
      borderVisible="false"
      horizontalGridLines="false"
      variableRowHeight="true"
      dataProvider="{titles}"
      >
      <mx:columns>
       <mx:DataGridColumn 
        itemRenderer="renderer.TitlePrintRenderer" 
        />
      </mx:columns>
    </mx:PrintDataGrid>
    TitlePrintRenderer.mxml has s:RichText component. I use  RichText's textFlow property to render the text. The approach is working fine  except that if the textFlow has embedded images (<img source=... />), the  images are not printed!
    Is this a bug? Is it a limitation? Has anyone come  across this issue?
    I'm using Flex SDK 4.5.1

    After struggling for 4+ days on using timer / events for printing PrintDataGrid with embedded images in RichText's textFlow, I tried your other suggestion... to convert <img> tags to InlineGraphicElement and give it Bitmap from image loaded from a .gif file. The approach works but the printout skips images in a few rows!
    I've this test case in which, every time I print, it skips printing image in the second row! I also implemented this approach in a more complex test case and depending on the total number of rows, it would skip printing image in different number of rows. I'm suspecting that even if you construct InlineGraphicElement from bitmap loaded from an image, PrintDataGrid's renderer still skips printing image intermittently.
    I would very much appreciate it if you could create small project from my following code and verify this behavior. I'm at my wit's end in getting this printing to work.
    PrintImagesTest.mxml
    =================
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/mx"
        minWidth="955" minHeight="600"
        initialize="initData();"
        viewSourceURL="srcview/index.html"
        >
        <s:layout>
            <s:VerticalLayout
                paddingLeft="20" paddingRight="20"
                paddingTop="20" paddingBottom="20"
                />
        </s:layout>
        <mx:Button
            label="Print"
            click="printClickHandler();"
            />
        <fx:Script>
            <![CDATA[
                import flash.utils.setTimeout;
                import flashx.textLayout.elements.InlineGraphicElement;
                import flashx.textLayout.elements.ParagraphElement;
                import flashx.textLayout.elements.SpanElement;
                import flashx.textLayout.elements.TextFlow;
                import mx.collections.ArrayCollection;
                import mx.printing.*;
                import mx.utils.OnDemandEventDispatcher;
                public var contentData:ArrayCollection;
                private var embeddedImages:ArrayCollection;
                private var numberOfImagesLoaded:int;
                public var printJob:FlexPrintJob;
                public var thePrintView:FormPrintView;
                public var lastPage:Boolean;
                private var textFlowNS:Namespace = new Namespace("http://ns.adobe.com/textLayout/2008");
                public function initData():void {
                    contentData = new ArrayCollection();
                    var page:int = 0;
                    for (var z:int=0; z<20; z++)    {
                        var content:Object = new Object();
                        content.srNo = z+1;
                        content.contentText =
                        "<TextFlow whiteSpaceCollapse='preserve' xmlns='http://ns.adobe.com/textLayout/2008'>" +
                        "<span>some text</span>" +
                        "<img width='53' height='49' source='assets/images/formula.gif'/>" +
                        "</TextFlow>";
                        contentData.addItem(content);
                public function printClickHandler():void {
                    convertToTextFlow();
                private function convertToTextFlow():void {
                    embeddedImages = new ArrayCollection();
                    numberOfImagesLoaded = 0;
                    for each (var contentElement:Object in contentData) {
                        extractImageInfo(contentElement.contentText);
                    if (embeddedImages.length > 0) {
                        loadImage(embeddedImages.getItemAt(0).source);
                    } else {
                        printData();
                private function extractImageInfo(contentText:String):void {
                    var textXml:XML = new XML(contentText);
                    var imageList:XMLList = textXml.textFlowNS::img;
                    for each (var img:XML in imageList) {
                        var embeddedImage:Object = new Object();
                        embeddedImage.source = String(img.@source);
                        embeddedImage.width = parseInt(img.@width);
                        embeddedImage.height = parseInt(img.@height);
                        embeddedImages.addItem(embeddedImage);
                private function loadImage(imageSource:String):void {
                    var loader:Loader = new Loader();
                    var urlRequest:URLRequest = new URLRequest(imageSource);
                    loader.load(urlRequest);
                    loader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoaded);
                private function imageLoaded(e:Event):void {
                    embeddedImages.getItemAt(numberOfImagesLoaded).bitmap = (Bitmap)(e.target.content);
                    embeddedImages.getItemAt(numberOfImagesLoaded).width = ((Bitmap)(e.target.content)).width;
                    embeddedImages.getItemAt(numberOfImagesLoaded).height = ((Bitmap)(e.target.content)).height;
                    ++numberOfImagesLoaded;
                    if (numberOfImagesLoaded < embeddedImages.length) {
                        loadImage(embeddedImages.getItemAt(numberOfImagesLoaded).source);
                    } else {
                        // all the images have been loaded... convert to textflow
                        buildContent();
                        printData();
                private function buildContent():void {
                    var contentIndex:int = 0;
                    for each (var contentElement:Object in contentData) {
                        if (hasImage(contentElement.contentText)) {
                            buildTextFlow(contentElement, contentIndex);
                            ++contentIndex;
                private function buildTextFlow(content:Object, contentIndex:int):void {
                    var textXml:XML = new XML(content.contentText);
                    var p:ParagraphElement = new ParagraphElement();
                    for each(var child:XML in textXml.children()) {
                        switch (child.localName()) {
                            case "span":
                                var span:SpanElement;
                                span = new SpanElement();
                                span.text = child;
                                span.fontSize = 10;
                                p.addChild(span);
                                break;
                            case "img":
                                var image:InlineGraphicElement;
                                image = new InlineGraphicElement();
                                image.source = embeddedImages.getItemAt(contentIndex).bitmap;
                                image.width = embeddedImages.getItemAt(contentIndex).width;
                                image.height = embeddedImages.getItemAt(contentIndex).height;
                                p.addChild(image);
                                break;
                    content.textFlow = new TextFlow();
                    content.textFlow.addChild(p);
                private function hasImage(contentText:String):Boolean {
                    var textXml:XML = new XML(contentText);
                    var imageList:XMLList = textXml.textFlowNS::img;
                    if (imageList.length() > 0) {
                        return true;
                    } else {
                        return false;
                private function printData():void {
                    printJob = new FlexPrintJob();
                    lastPage = false;
                    if (printJob.start()) {
                        thePrintView = new FormPrintView();
                        addElement(thePrintView);
                        thePrintView.width=printJob.pageWidth;
                        thePrintView.height=printJob.pageHeight;
                        thePrintView.printDataGrid.dataProvider = contentData;
                        thePrintView.showPage("single");
                        if(!thePrintView.printDataGrid.validNextPage) {
                            printJob.addObject(thePrintView);
                        } else {
                            thePrintView.showPage("first");
                            printJob.addObject(thePrintView);
                            while (true) {
                                thePrintView.printDataGrid.nextPage();
                                thePrintView.showPage("last"); 
                                if(!thePrintView.printDataGrid.validNextPage) {
                                    printJob.addObject(thePrintView);
                                    break;
                                } else {
                                    thePrintView.showPage("middle");
                                    printJob.addObject(thePrintView);
                        removeElement(thePrintView);
                    printJob.send();
            ]]>
        </fx:Script>
    </s:Application>
    FormPrintView.mxml
    ===============
    <?xml version="1.0"?>
    <mx:VBox
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/mx"
        xmlns:MyComp="myComponents.*"
        backgroundColor="#FFFFFF"
        paddingTop="50" paddingBottom="50" paddingLeft="50"
        >
        <fx:Script>
            <![CDATA[
                import mx.core.*
                    public function showPage(pageType:String):void {
                        validateNow();
            ]]>
        </fx:Script>
        <mx:PrintDataGrid
            id="printDataGrid"
            width="60%"
            height="100%"
            showHeaders="false"
            borderVisible="false"
            horizontalGridLines="false"
            variableRowHeight="true"
            >
            <mx:columns>
                <mx:DataGridColumn
                    itemRenderer="MyPrintRenderer"
                    />
            </mx:columns>
        </mx:PrintDataGrid>
    </mx:VBox>
    MyPrintRenderer.mxml
    =================
    <?xml version="1.0" encoding="utf-8"?>
    <s:MXDataGridItemRenderer
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/mx"
        xmlns:bslns="com.knownomy.bsl.view.component.*"
        >
        <s:layout>
            <s:VerticalLayout
                paddingLeft="5"
                paddingRight="5"
                paddingTop="3"
                paddingBottom="3"
                gap="5"
                horizontalAlign="left"
                clipAndEnableScrolling="true"
                />
        </s:layout>
        <fx:Declarations>
        </fx:Declarations>
        <s:HGroup
            width="100%"
            gap="5"
            verticalAlign="middle"
            >
            <s:Label
                text="{data.srNo}"
                color="0x000000"
                fontFamily="Verdana"
                fontSize="10"
                />
            <s:RichText
                id="title"
                width="700"
                textFlow="{myTextFlow}"
                color="0x000000"
                fontFamily="Verdana"
                fontSize="10"
                />
        </s:HGroup>
        <fx:Metadata>
        </fx:Metadata>
        <s:states>
            <s:State name="normal" />
            <s:State name="hovered" />
            <s:State name="selected" />
        </s:states>
        <fx:Script>
            <![CDATA[
                import flashx.textLayout.elements.TextFlow;
                [Bindable]
                private var myTextFlow:TextFlow;
                override public function set data(value:Object) : void {
                    if (value != null) {
                        super.data = value;
                        myTextFlow = data.textFlow;
            ]]>
        </fx:Script>
    </s:MXDataGridItemRenderer>

Maybe you are looking for