Author Topic: send input parameters in ajax dataModel call when grid is created first  (Read 1888 times)

kshipra

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 94
    • View Profile


                   
1.I want to create empty grid first time, but then based on user selections pass data in ajax call of dataModel to get data.  It seems I have to configure dataModel with ajax call when I create grid. So it sends null parameters in ajax call to server the first time the grid is created and loaded. How can I prevent this from happening.
 dataModel: {
                dataType: "JSON",
                location: "remote",
                recIndx: "Id",
                //postData: { processorId: $('#ddlProcessor').val() },
                url: "../Home/LoadEvents", //for ASP.NET
                getData: function (response) {


2. If there is any error in code, the grid does not have graceful error handling. It breaks in code.

3. Expand button on right hand side is not working properly for me. It expands grid too much with top = 0 so the grid header hides completely behind menu bar.

4. Can I put hyperlinks in cell data for table?