Bug Drag/Drop Excel to Grid MVC DateTime Column

  1. #1

    Bug Drag/Drop Excel to Grid MVC DateTime Column

    My DateTime column in grid

    Html.X().DateColumn().Text(Util.GetLang("IssuedOn" )).DataIndex("IssuedOn").Width(100).Format("dd-MMM-yy").Editor(Html.X().DateField().Format("dd-MMM-yy").AllowBlank(false).Editable(false))


    My row in Excel

    YY IssuedOn Warranty No Issued by Code Customer Amt Credit days Expiry date Last day


    2014 29-May-14 C42 MB-CN 28 CTY TNHH 500 60 14-Nov-14 31-Aug-14


    In File DataDrop.js
    If column YY or WarrantyNo or Issued by it can drag and drop ok but when it is IssuedOn

    this code data[fldName] = fld ? fld.convert(vals[k]) : vals[k]; have bug

    fld.convert(vals[k]) undefined >>>> data[fidName] undefined

    >>>> var newRec = new Record(data); newRec got IssuedOn = null

    What can I do to fix this bug
  2. #2
    Hi
    What is DataDrop.js? I guess it is not part of Ext.Net
  3. #3
    I had fixed it , it just my mistake thank you everyone :)

Similar Threads

  1. Replies: 13
    Last Post: Sep 26, 2013, 10:04 AM
  2. Replies: 4
    Last Post: Jul 19, 2013, 1:16 AM
  3. [CLOSED] Drag drop column reordering not working
    By RCM in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Feb 02, 2013, 5:32 AM
  4. [CLOSED] Disable drag and drop this last column.
    By majunior in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 31, 2011, 5:10 PM
  5. Replies: 2
    Last Post: Mar 11, 2009, 8:59 AM

Posting Permissions