Good day peeps!!!
I had an UltraGrid as shown with "Cell Size" & "Beam Width" columns both with the Style "IntegerPositivewithSpin" but i wonder is there a way to limit the range of the "Spin"?....... Like i only want the users being able to increase or decrease the integers in column "Cell Size" in the range of "5 to 75"
Another question is, can i append a "column" to an UltraGrid whereby the "column" has different no. of rows with the table in the UltraGrid?..... For example, i want to append a new "column" to an UltraGrid (figure 1) so that the outcome would be like (figure 2)
Last question is related to UltraExplorerBar with the style "Explorer Bar"...... Can I disable the expansion function for the "Header Button"?..... as i found that I can only hide the "Indicator" of the "Header Button"....
Thank you!!!
Okay, but that really doesn't answermy question. What do you want to store in the column? What do you want the cell to display?
Mike Saltzman"]There are a number of ways to do this. It depends what you want. Do you want to store some numeric value and just display an image to the user? Do you want only an image with no text? Do you want the dropdown to show the image and text, or just an image, or multiple columns? Or do you want the field to actual be an image type like Bitmap?
I just wan a dropdown (from one of the column in UltraGrid) that shows image only
wc8262 said:you mean I have to do it in coding?
I'm not sure what you mean by that. There is no way to add a column that only applies to some rows and not others. You could add some unbound columns at design-time, it doesn't have to be done in code.
wc8262 said:Another of my problem is.... I wish to have a "drop down images list" for one of the column in my UltraGrid, is it possible? I'd tried to set the column's Style to "Image" and assign an "Image List" to the UltraGrid but it doesn't seem to work.......
There are a number of ways to do this. It depends what you want. Do you want to store some numeric value and just display an image to the user? Do you want only an image with no text? Do you want the dropdown to show the image and text, or just an image, or multiple columns? Or do you want the field to actual be an image type like Bitmap?
Mike Saltzman"]Set the MinValue and MaxValue on the column.
Mike Saltzman"]I'm not sure what you mean. You would probably be better off asking this question in the ExporerBar forum.
Thanks Mike! With your help, I had solved the 2 questions above....=)
Mike Saltzman"]You can add an unbound column to the grid. But the data source will still have the same number of rows, rows are not specific to columns. You could just leave the cells in the other columns blank, of course, and even disable editing in those cells.
you mean I have to do it in coding?
Another of my problem is.... I wish to have a "drop down images list" for one of the column in my UltraGrid, is it possible? I'd tried to set the column's Style to "Image" and assign an "Image List" to the UltraGrid but it doesn't seem to work.......
wc8262 said:I had an UltraGrid as shown with "Cell Size" & "Beam Width" columns both with the Style "IntegerPositivewithSpin" but i wonder is there a way to limit the range of the "Spin"?....... Like i only want the users being able to increase or decrease the integers in column "Cell Size" in the range of "5 to 75"
Set the MinValue and MaxValue on the column.
wc8262 said:Another question is, can i append a "column" to an UltraGrid whereby the "column" has different no. of rows with the table in the UltraGrid?..... For example, i want to append a new "column" to an UltraGrid (figure 1) so that the outcome would be like (figure 2)
You can add an unbound column to the grid. But the data source will still have the same number of rows, rows are not specific to columns. You could just leave the cells in the other columns blank, of course, and even disable editing in those cells.
wc8262 said:Last question is related to UltraExplorerBar with the style "Explorer Bar"...... Can I disable the expansion function for the "Header Button"?..... as i found that I can only hide the "Indicator" of the "Header Button"....
I'm not sure what you mean. You would probably be better off asking this question in the ExporerBar forum.