Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    blank row in ListGrid after update

    We get a blank row in the ListGrid after an update to the DataSource. The update works fine but the row is cleared and we have to refresh the ListGrid to see the changes after the update.

    How can we get the row to remain on the grid after the update?

    var dealFields = [
    {name:"OpportunityName", title:"Opportunity ", canEdit:true},
    {name:"AccountName", title:"Accout Name", canEdit:false},
    {name:"SalesStage", title:"Sales Stage", width:"15%"},
    {name:"StageStatus", title:"Status", width:"10%", canEdit:false},
    {name:"Revenue", title:"Revenue Amount", width:"15%"}
    ];

    isc.SiebelDS.create({
    ID: "opportunityDS",
    recordName: "Opportunity",
    service: topDealService,

    fields : [
    { name:"Id", hidden:true, primaryKey:true },
    { name:"OpportunityName"},
    { name:"AccountName"},
    { name:"SalesStage"},
    { name:"StageStatus"},
    { name:"Revenue"}
    ]
    });

    isc.ListGrid.create({
    ID:"dealList",
    dataSource: opportunityDS,
    autoFetchData: true,
    sortField: "Revenue",
    sortDirection: "descending",
    fields: dealFields,
    canReorderRecords: true,
    canEdit:true, editEvent:"click",
    autoFitWidth:true,
    width:"100%",
    height:"100%",
    showGridSummary:true,
    alternateRecordStyles:true,
    canHover: true,
    hoverOpacity : 90,
    hoverWidth: 80,
    hoverHeight: 50
    }

    #2
    ? Answered you yesterday. See the FAQ about grids not refreshing.

    Comment


      #3
      you may want to check out http://forums.smartclient.com/showthread.php?t=8159, but doesn't help

      Comment

      Working...
      X