We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Populate a grid column

Thread ID:

Created:

Updated:

Platform:

Replies:

5650 Jul 11,2003 02:14 PM Jul 11,2003 03:03 PM Windows Forms 1
loading
Tags: GridControl
Steli Andrei
Asked On July 11, 2003 02:14 PM

Hi there, I do have a GridDataBoundGrid and the third column in the grid (Price) is ReadOnly and is being populated based on the value that I select in the first two: CategoryID and PartID (I go in the database and I retrieve the price of an item based on its Category and its PartID). When I display the Price in the column a new row gets added to the grid. If I display the PackSize, another one gets added. Should I go with Me.grid.item(row, col).CellValue.ToString = Price or Me.grid.item(row,col).Text = Price. I've tried wrapping up the dispaly with EnabledAddNew = False and then back True but, I don't like it. Is there any other way ? Thank you.

Administrator [Syncfusion]
Replied On July 11, 2003 03:03 PM

Hi, A while back I got similar issue. Clay helped me out. Check this out. http://www.syncfusion.com/forums/message.asp?MessageID=5084 You may want to make your Price column celltype to "Static". thanks, - Reddy

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;