serverDateRangeFilter stringResult

Hi, is there a way to use stringResult param (as in daterangepicker) in a serverDateRangeFilter?
I should send to the server a string like "YYYY-MM-DD hh:mm:ss"; in a daterangepicker you can do this with stringResult set to true, but in a datatable the filter getValue result is in "YYYY-MM-DDThh:mm:ss.000Z" format.

Thanks

Comments

  • Hi @bazzanella ,
    Usually the data is sent to the server in the format you need. If you need to receive the string in that format viagetValue method as well, please, use stringResult param inside inputConfig object.

    header:[
          "Released", {
            content:"serverDateRangeFilter",
            inputConfig:{ stringResult: true }
          } 
    
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion