Dear All .... I just tried infragistic ultragrid ...
I want to populate part of data to ultragrid from dataset
I have data in data set : Code, Name, Debet, Kredit, Plafond, Saldo01 ... Saldo12, Kas01 ... Kas12i Only want to populate Code, Name, Debet, Kredit, Plafond
how to make this happen ...
TQ before
Hengky
I have created a sample for you.
In this sample, I bind a DataTable that has 5 columns to UltraGrid using SetDataBinding() with ‘hideNewColumns’ flag set to true as the third parameter.
When you run it, you will see only 3 columns out of 5 since they are the only ones defined in the UltraGrid designer.
0726.WindowsFormsApp1.zip
TQ very much it's work ....
Thanks for the reply
I have searched for the example but i can't find it...
can i download it ?
thanks
Hello,
Thank you for posting in Infragistics forum.
You can define only the columns you want to show at design time. Please take a look at the page below for more details.
HOWTO:How can I define columns in the grid at Design-time and bind them at run-time so that some fields of the data are excluded from the grid?http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=6702&_ga=2.19610417.865711191.1575241859-1152455803.1570795850
Please let me know if I may be of further assistance.