[CLOSED] EmptyCellText : Not working

Page 1 of 2 12 LastLast
  1. #1

    [CLOSED] EmptyCellText : Not working

    I set EmptyCellText
     
    Html.X().Column()
                    .DataIndex("EmailID")
                    .Text("EmailID")
                   .EmptyCellText("N/A")
    I read http://docs-origin.sencha.com/extjs/....column.Column about emptyCellText
    I tried both NULL and empty value from data base.but not working.
    Attached Thumbnails Click image for larger version. 

Name:	Untitled.png 
Views:	7 
Size:	2.8 KB 
ID:	23141  
    Last edited by Daniil; Mar 31, 2015 at 3:32 PM. Reason: [CLOSED]
  2. #2
    I see NULL on your screenshot, i guess that you data contains string with value 'NULL' because real null value cannot be rendered like in your screenshot. Please show how is your data is rendered to javascript
  3. #3
    This screen shot I take from SQL Server one is without using isnull function of SQL Server and another is using isnull function
    isnull(emailid,'').

    Please show how is your data is rendered to javascript
    I inspect with fire bug please see bellow image emailid render as Empty String.

    Click image for larger version. 

Name:	Untitled.png 
Views:	5 
Size:	8.9 KB 
ID:	23151
  4. #4
    Hello everybody,

    I can confirm that the EmptyCellText option doesn't work in Ext.NET v2. It has been fixed in v3.

    For v2 please use a Column's Renderer to achieve the requirement.
  5. #5
    Thanks @daniil for let us know.
    Is that defect in ExtJs 4.2.1?

    I can confirm that the EmptyCellText option doesn't work in Ext.NET v2. It has been fixed in v3.
    If so,its better to remove this property from v2,other wise its makes confusion.
    Last edited by matrixwebtech; Mar 30, 2015 at 3:41 PM.
  6. #6
    Thank you for the suggestion! Done in SVN branches/2 in the revision 6410.
  7. #7
    Hi danill
    I read your comment in SVN commit message.

    Column's EmptyCellText has been removed, because it is not working because of a bug in ExtJS. The property exists and works in Ext.NET v3.
    why sencha not fix this?
    Last edited by matrixwebtech; Mar 31, 2015 at 6:18 PM.
  8. #8
    Yes, it is a defect in ExtJS 4.2.1 and it has been fixed in 4.2.3. The fix went to Ext.NET v3.
  9. #9
    Yes, it is a defect in ExtJS 4.2.1 and it has been fixed in 4.2.3. The fix went to Ext.NET v3.
    v3 use extjs 5.x,and currently v2 use 4.2.1 then why Ext.net not upgrade to 4.2.3?
  10. #10
    Unfortunately, Sencha made 4.2.3 private even for us and we cannot use it in Ext.NET. Here are more details:
    http://forums.ext.net/showthread.php...l=1#post199711
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 0
    Last Post: Oct 07, 2014, 8:06 AM
  2. Replies: 0
    Last Post: Oct 30, 2012, 5:34 PM
  3. [CLOSED] V2.1 PanelGrid EmptyCellText change
    By Aurelio in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 28, 2012, 2:35 PM
  4. Replies: 3
    Last Post: Feb 21, 2012, 7:46 AM

Posting Permissions