jQWidgets Forums
Forum Replies Created
-
Author
-
July 9, 2013 at 11:52 am in reply to: Date format after editing a cell Date format after editing a cell #24814
Hi Peter,
As I am facing the same problem with Timestamp displaying,
I tried your above example, but if the width of the “Ship Date” is increased to 150, I still could see timestamp being displayed in the grid cell….
what may be the reason??
Thanks & Regards,
ssp
July 5, 2013 at 1:01 pm in reply to: Date format after editing a cell Date format after editing a cell #24599Hi,,
I have to obtain the date value from the database which is given in the format YYYY-MM-DD and display in the jqxgrid in the same format,,,
I have used the following code:
text : ‘Start Date’, id: ‘startDatePopUp’,datafield : ‘startDate’, columntype: ‘datetimeinput’, cellsformat: YYYY-MM-DD’, align : ‘center’, width : 150, cellsalign : ‘center’,
but it is being displayed in the grid as YYYY-MM-DD 00:00:00.0
how will I display the date value in the format YYYY-MM-DD in the jqxgrid??
Thanks & Regards,
ssp
July 5, 2013 at 10:51 am in reply to: how to display the date value in the format YYYY-MM-DD in the jqxgrid how to display the date value in the format YYYY-MM-DD in the jqxgrid #24589Hi,
How to display Date in the grid cell in the format YYYY-MM-DD?
because in ,
text : ‘Start Date’, id: ‘startDatePopUp’,datafield : ‘startDate’, columntype: ‘date’, cellsformat: ‘yyyy-MM-dd’, align : ‘center’, width : 150, cellsalign : ‘center’,the cellFormat doesn’t work for any of the formats in the grid other than the YYYY-MM-DD 00:00:00.0
Thanks & Regards,
ssp
July 5, 2013 at 9:01 am in reply to: how to display the date value in the format YYYY-MM-DD in the jqxgrid how to display the date value in the format YYYY-MM-DD in the jqxgrid #24577Hi,
Sorry I forgot to mention, though I am initializing the property of Date column as type: ‘date’,
I am not able to remove the timestamp values from the Date : YYYY-MM-DD 00:00:00.0I have set the datafields initialization in the following way,
var milestone =
{
datatype: “json”,
datafields: [
{ name: ‘milestoneType’, type: ‘string’},
{ name: ‘phase’, type: ‘string’},
{ name: ‘phaseDescription’, type: ‘string’},
{ name: ‘customPhase’, type: ‘string’},
{ name: ‘startDate’, type: ‘date’},
{ name: ‘endDate’, type: ‘date’}],
cache: false,
url: ‘milestoneJCI.htm’};
.
.
.
initeditor: function (row, cellvalue, editor) {
editor.jqxDateTimeInput(‘setDate’, new Date());
}Please let me know how can I display only the Date in the grid in the format : YYYY:MM:DD ???
Thanks & Regards,
ssp
July 5, 2013 at 5:55 am in reply to: how to display the date value in the format YYYY-MM-DD in the jqxgrid how to display the date value in the format YYYY-MM-DD in the jqxgrid #24536Hi,
I have set the datafields initialization in the following way,
var milestone =
{
datatype: “json”,
datafields: [
{ name: ‘milestoneType’, type: ‘string’},
{ name: ‘phase’, type: ‘string’},
{ name: ‘phaseDescription’, type: ‘string’},
{ name: ‘customPhase’, type: ‘string’},
{ name: ‘startDate’, type: ‘date’},
{ name: ‘endDate’, type: ‘date’}],
cache: false,
url: ‘milestoneJCI.htm’};
.
.
.
initeditor: function (row, cellvalue, editor) {
editor.jqxDateTimeInput(‘setDate’, new Date());
}Thanks & Regards,
ssp
July 5, 2013 at 5:02 am in reply to: how to display the date value in the format YYYY-MM-DD in the jqxgrid how to display the date value in the format YYYY-MM-DD in the jqxgrid #24532Hi,
I get the same display format i.e. YYYY-MM-DD 00:00:00.0 even after changing the cellsformat:
text : ‘Start Date’, id: ‘startDatePopUp’,datafield : ‘startDate’, columntype: ‘date’, cellsformat: ‘yyyy-MM-dd’, align : ‘center’, width : 150, cellsalign : ‘center’,
tried with both columntype: ‘date’ and columntype: ‘datetimeinput’
Do you mean datafields array initialization in the database:
in my oracle db, the initialization is Date and is in the Date format only without having any time values….Thanks & Regards,
ssp
June 18, 2013 at 12:10 pm in reply to: jqxGrid with large data(AJAX) jqxGrid with large data(AJAX) #23347Oh I am able to export the grid now!!
Thanks a lot!!June 18, 2013 at 12:00 pm in reply to: jqxGrid with large data(AJAX) jqxGrid with large data(AJAX) #23345Thank you so much for the reply Peter!!
June 18, 2013 at 11:06 am in reply to: jqxGrid with large data(AJAX) jqxGrid with large data(AJAX) #23326Peter,
Thanks for all the replies!!
I was able to export the grid a couple of times with OPEN and SAVE options, even though it was redirecting to the page:”http://jquerygrid.net/export_server/save-file.php” most of the times,.so I assume there was no security restrictions,
But today I am unable to export even once,
please help me out with this strange output!June 18, 2013 at 9:28 am in reply to: jqxGrid with large data(AJAX) jqxGrid with large data(AJAX) #23316Hi Peter,
I do not have any save-file.php and for information I use Java Spring MVC framework,
plz give me the solution for not being able to export??Thanks,
June 18, 2013 at 9:05 am in reply to: jqxGrid with large data(AJAX) jqxGrid with large data(AJAX) #23310Hi,
I am trying to export a jqxgrid to excel using the following function:
$(“#excelExport1”).click(function () {
$(“#jqxgrid”).jqxGrid(‘exportdata’, ‘xls’, ‘jqxGrid’,false);
});On clicking the export button it is navigating to “Internet Explorer cannot diaplay a webpage” with the url
-
AuthorPosts