Contributions
- 3.6KViews0likes0Comments
Re: getting display format of the data field in java swing table
I tried wValue(0,4). that is also giving me the Date object. if i try to print the value without using tostring, it prints nothing. if i use the toString on it , agin it will convert the date to default format. I can use theaqConvert.DateTimeToFormatStr(D,FormatStr), only if i know the format before hand. but that is going to be different from one application to another.3.6KViews0likes1Commentgetting display format of the data field in java swing table
I am trying to get the value from Date field of one of the columns in Jtable object. When i get the value i am using toString on it (OleValue is not working). But toString converting the date to default format( Mon Nov 03 08:00:42 CDT 2016) instead of the displayed format(eg 11/03/2016). I tried to use the few native methods like cellRender object of that column but none of them have any value. Here is how iam getting the value grid.getValueAt(0, 1).toString Is there any way that i can get displayed text form Date object.Solved3.6KViews0likes5CommentsUnable find properties/methods for sfttreecontrol75
I have a grid with wndclass type "SftTreeControl75" (i am assuming it's a softel's ) . i was unable to find proper methods/properties to get value from it or perform click actions on it. is this not supported in testcomplete?695Views0likes1Commentclickcell() on grid's cell after resizing the grid
I am able to do the grid.clickcell(rowindex,ColIndex) on Microsoft DataGridView. But Once i expand the grid clickcell not working properly. i.e clickcell(0,3) is performing click on (0,2) cell. am i missing recalculating the size or need to mention the coordinates?Solved1.2KViews0likes2Comments- 1.4KViews0likes0Comments
How to add custom grid to object maaping list programmatically ?
My application has custom grid where it's base type isSystem.Windows.Forms.DataGrid . I am unable to access w** properties of the grid. i can add this in Tools -> current project properties -> Object Mapping. But there are few applications that i have to test which have there own custom grids of the same base type. So it would be easier for me to use the same script if i map the grid object in script. Or is there any way that i can get convert custom grid to it's base grid type so that i can use it's properties?Solved1.5KViews0likes5Comments