How to Update the GridPanel data to the DataSource

  1. #1

    How to Update the GridPanel data to the DataSource

    hi, I am new to use the coolite, it is very cool. now, i meet one quetion:how to save the modified data of the gridpanel to the datasource. In my idea, I can take the store as the DataSet, and the gridpanel as the DataGridView or DataGrid, but I can't find the method to update the modified data of the gridpanel. any idea.
    thanks.
  2. #2

    RE: How to Update the GridPanel data to the DataSource

    here is my example, in the webform2.aspx
    In this case, the datasource is a Datatable that i built it manualy, and then i link it to the Store1.DataSource, and the DataTable(dt) is private static, because i found it is null when it is private, when i change the data of the gridpanel1 and Commit change, and then refresh, the Datatable is fixed, nothing is changed.
  3. #3

    RE: How to Update the GridPanel data to the DataSource

    OK, I extend the coolite project, and it support the DataTable as the datasource , and can update to the datatable now.

Similar Threads

  1. Replies: 1
    Last Post: Jun 12, 2012, 11:34 AM
  2. Replies: 2
    Last Post: Apr 11, 2012, 12:10 PM
  3. Replies: 5
    Last Post: Feb 01, 2012, 12:54 PM
  4. update datasource for grid with conbobox value
    By rlasker3 in forum 1.x Help
    Replies: 0
    Last Post: Jun 06, 2010, 10:35 PM
  5. how to update xml datasource in GridPanel?
    By bruce in forum 1.x Help
    Replies: 2
    Last Post: Oct 30, 2008, 2:08 PM

Posting Permissions