how can keep ext.net grid panel image command icon in left of column.

  1. #1

    how can keep ext.net grid panel image command icon in left of column.

    How to set the icon image first and then text in ext.net grid panel.I did CSS and styles for same

    Expected result is first image then text ...like highlighted value.


    Thanks in advance..!
    Attached Thumbnails Click image for larger version. 

Name:	Capture.PNG 
Views:	144 
Size:	9.5 KB 
ID:	14861  
    Last edited by Daniil; Aug 28, 2014 at 11:55 AM.
  2. #2
    Hi @Prasoon,

    An ImageCommand renders an icon first, then text. So, I don't quite understand your requirement. Please elaborate.
  3. #3
    Hi Daniil,

    In grid i am using the Image command inside the column. i.e

     <ext:Column DataIndex="FileName" Header="Uploaded File" Width="250" Align="Left">
                            <Commands>
                                <ext:ImageCommand CommandName="excel" Icon="PageExcel" >
                                </ext:ImageCommand>
                            </Commands>
                        </ext:Column>
    so its rendering first "Value" then Image icon...and my requirement is need to render image first followed by value so we can not set static Text value .

    i.e.
    Click image for larger version. 

Name:	Capture.PNG 
Views:	18 
Size:	6.7 KB 
ID:	14911


    Thanks in advance.
    Last edited by Prasoon; Sep 01, 2014 at 5:53 AM.
  4. #4
    Do you mean that an icon is rendered after the column's text? As this:
    "Column's text" => "ImageCommand's icon" => "ImageCommand's text"

    But you need this?
    "ImageCommand's icon" => "Column's text" => "ImageCommand's text"
  5. #5
    Hi Daniil,

    Yes , its rendering first Column's text then icon and requirement is like it should be first

    "ImageCommand's icon" => "Column's text" to render in same grid column .

    Thanks in advance.
  6. #6
    Unfortunately, there is no such an option.

    Do you need the Column's text? You could put everything to the ImageCommand's text.

Similar Threads

  1. Replies: 6
    Last Post: Nov 30, 2012, 1:54 PM
  2. [CLOSED] Display mandatory icon for editor column in grid panel
    By AnulekhaK in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Sep 26, 2011, 10:13 AM
  3. Replies: 0
    Last Post: Jun 20, 2011, 5:13 PM
  4. [CLOSED] How to set an image to a grid panel column when is loading?
    By flormariafr in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 19, 2010, 5:20 PM
  5. [CLOSED] Image/Icon column in grid
    By jchau in forum 1.x Help
    Replies: 2
    Last Post: Mar 26, 2009, 3:46 PM

Tags for this Thread

Posting Permissions