[CLOSED] Editing DateTime

  1. #1

    [CLOSED] Editing DateTime

    Hi!

    Within Ext.Net which component allows editing DateTime together? I need this component as well as for creating form for use in GridPanel.

    Thanks!

    Ermanni
    Last edited by Daniil; Apr 30, 2013 at 4:17 AM. Reason: [CLOSED]
  2. #2
    Hi @Ermanni,

    Please follow:
    http://forums.ext.net/showthread.php?20189
  3. #3
    Hi!

    There is forecast to have a unique component that makes this treatment?

    The options mentioned in the post are laborious. Imagine a grid that has 5 fields DateTime. I'll have to generate 10 fields in the model and 10 columns in the grid. And not to have become meaningless to use headers to organize these grouped columns.

    Thanks!

    Ermanni
  4. #4
    Quote Originally Posted by ermanni.info View Post
    There is forecast to have a unique component that makes this treatment?
    Unfortunately, no. Though, it is something we think about.


    Quote Originally Posted by ermanni.info View Post
    The options mentioned in the post are laborious. Imagine a grid that has 5 fields DateTime. I'll have to generate 10 fields in the model and 10 columns in the grid. And not to have become meaningless to use headers to organize these grouped columns.
    Agree it is not simple. You can consider to use some other option of the listed ones. Though, they are also not easy. Unfortunately, we can't suggest any other easier options.
  5. #5
    Hi Daniil!

    GridPanel programmed to work with a date column and another time as instructed by the post. I'm using the mapping feature adding two fields in model pointed at the same object property.

    Now I am with the following problem when GridPanel processes the event OnBeforeStoreChanged: my DateTime property of the DTO is null when running the excerpt below:

       string json = e.DataHandler.JsonData;
    
       var dataHandler = new StoreDataHandler(json);
       List<MovimentoDTO> data = dataHandler.ObjectData<MovimentoDTO>();
       var dataResponse = new List<MovimentoDTO>();
    Is there any functionality that makes Ext.Net junction mapping? No model of GridPanel I have a date field and another timespan and when run dataHandler.ObjectData <DTO> the two fields should be unified.

    Thanks!

    Ermanni
  6. #6
    I think there should be a good solution. I need a test case to work with. Could you provide me with a runnable sample?

Similar Threads

  1. Using Datetime with miliseconds
    By PetrSnobelt in forum 2.x Help
    Replies: 1
    Last Post: Nov 20, 2013, 9:37 AM
  2. MVC Form HtmlHelper DateTime
    By Iguion in forum 2.x Help
    Replies: 2
    Last Post: Nov 28, 2012, 4:03 PM
  3. Datetime
    By Wtower in forum 1.x Help
    Replies: 1
    Last Post: Sep 05, 2009, 9:53 AM
  4. DateTime handling in Store
    By pschojer in forum 1.x Help
    Replies: 3
    Last Post: Aug 17, 2009, 1:22 PM
  5. [CLOSED] datetime field
    By Satyanarayana murthy in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 11, 2009, 1:59 PM

Tags for this Thread

Posting Permissions