Nov 10, 2010, 9:25 AM
[CLOSED] Select a Row from GridPanel in DirectMethod
Hi,
so, after upgrading my user to premium, this is my first question ;-)
Is is possible like the commit to select a row / or multiple rows after new binding
from code behind.
Something like this:
so, after upgrading my user to premium, this is my first question ;-)
Is is possible like the commit to select a row / or multiple rows after new binding
from code behind.
Something like this:
[DirectMethod(Namespace = "CompanyX")]
public void AfterEdit(String Name)
{
Store store = this.GPanel.GetStore();
data.Add(Name);
....
data.Add(Name+Name);
data.Sort(delegate(SampleClass p1, SampleClass p2) { return p1.name.CompareTo(p2.name); });
store.DataSource = data;
store.DataBind();
this.GPanel.Store.Primary.CommitChanges();
// SELECT THE NEW ADDED ROWS
}
Last edited by Daniil; Nov 10, 2010 at 10:52 AM.
Reason: [CLOSED]