jQWidgets Forums

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts

  • balachandra
    Participant

    Dear Team,

    As per my requirement dynamic columns means i don’t know how many combobox columns will bind to grid, In that case it is not possible declare variables while writing the code,
    For this reason only i declared variable in loop and assigning to that variable.(If we declare a variable in loop it will initializes newly and will action like a new variable it is known fact for all of us).
    So can you please provide a solution for this.

    Thanks in advance.


    balachandra
    Participant

    Hello Team,

    Can you modify my code and give where i have done mistake ,

    Why because while binding columns to grid each column having different types, but in my example i made two columns with same type i am not getting by your answer.

    Please run my code in fiddle and correct where it went wrong.

    Thanks in advance.

    in reply to: Large Number of appointments Large Number of appointments #105634

    balachandra
    Participant

    I have scheduler i am loading only one month data, almost 10000 records are there for a month but for each day appointments are around 300 when i try to load this to scheduler it is in unresponsive state.

    $(document).ready(function () {
    var appointments = new Array();
    for(var i = 0; i < 400; i++) {
    var appointment = {
    id: “id6”,
    description: “”,
    location: “”,
    subject: “Interview with Nancy”,
    calendar: “Room 4”,
    start: new Date(2019, 10, 26, 14, 0, 0),
    end: new Date(2019, 10, 26, 16, 0, 0)
    }
    appointments.push(appointment);
    }
    // prepare the data
    var source =
    {
    dataType: “array”,
    dataFields: [
    { name: ‘id’, type: ‘string’ },
    { name: ‘description’, type: ‘string’ },
    { name: ‘location’, type: ‘string’ },
    { name: ‘subject’, type: ‘string’ },
    { name: ‘calendar’, type: ‘string’ },
    { name: ‘start’, type: ‘date’ },
    { name: ‘end’, type: ‘date’ }
    ],
    id: ‘id’,
    localData: appointments
    };
    var adapter = new $.jqx.dataAdapter(source);
    $(“#scheduler”).jqxScheduler({
    date: new $.jqx.date(2015, 11, 23),
    width: 850,
    height: 600,
    source: adapter,
    view: ‘weekView’,
    appointmentOpacity: 0.7,
    showLegend: true,
    ready: function () {
    $(“#scheduler”).jqxScheduler(‘ensureAppointmentVisible’, ‘id1’);
    },
    resources:
    {
    colorScheme: “scheme05”,
    dataField: “calendar”,
    source: new $.jqx.dataAdapter(source)
    },
    appointmentDataFields:
    {
    from: “start”,
    to: “end”,
    id: “id”,
    description: “description”,
    location: “place”,
    subject: “subject”,
    resourceId: “calendar”
    },
    views:
    [
    ‘dayView’,
    ‘weekView’,
    ‘monthView’
    ]
    });
    });

    I tried this example in fiddler loading appointments for only one day then page goes unresponsive.


    balachandra
    Participant

    Hello Team,

    I have implemented Jqxgrid with export to all the option like excel,html,json

    Now my issue is when i do grouping in grid and then export to excel it is exporting actual data which is bind at rendering grid, i want to see the result
    in format of WYSSYG(what you see what you get).

    it is not applying in all the formats.
    is it possible in jqwidgets?

    Thanks in advance.


    balachandra
    Participant

    Hi Peter,
    Thanks for your reply.

    The answer which you given is perfect when we use normal html controls with jquery.
    i already know creating event dynamically in jquery previously my dynamic application with dynamic html controls and dynamic jquery events for all my controls like textbox,dropdown etc..

    Now i am converting html controls to Jqwidgets controls,i started with jqxcombobox so i am expecting dynamic jqwidgets events for all operations with all jqwidgets controls.

    I think you got my point.

    Thanks in advance.

Viewing 5 posts - 1 through 5 (of 5 total)