sorting a data inside a grid

Posted by mysteryminds on 26-Apr-2017 12:15

how can i sort the data inside the grid  asc / desc 

389 | 388 | 384 | 383 | 405 | 291 | 289 | 234 | 403 | 402 | 400 | 395 | 394 | 391 | 390 | 382 | 379 | 378 | 377 | 374 | 373 | 372 | 371 | 370 | 369 | 368 | 364 | 363 | 362 | 360 | 359 | 358 | 357 | 355 | 354 | 353 | 352 | 351 | 350 | 349 | 348 |347 | 346 | 345 | 344 | 343 | 342 | 341 | 340 | 339 | 338 | 337 | 336 | 335 | 333 | 332 | 331 | 330 | 329 | 320 | 319 | 318 | 317 | 316 | 315 | 314 | 313 | 312 | 311 | 310 | 309 | 308 | 307 | 306 | 304 | 303 | 301 | 299 | 294 | 293 | 284 | 279 |273 | 272 | 270 | 269 | 265 | 263 | 262 | 255 | 246 | 245 | 242 | 241 | 240 | 235 | 214 | 211 | 207 | 206 | 205 | 203 | 202 | 201 | 380 | 408 | 396 | 404 | 399 | 398 | 385 | 356 | 392

All Replies

Posted by mysteryminds on 27-Apr-2017 16:51

so anyone who can suggest me the ways to sort the data inside a grid cell please

Posted by Karthikeyan Bhaskaran on 28-Apr-2017 04:34

What do these values represent with regards to the page where you are viewing them? Are these values of a field in a related object record?

Posted by mysteryminds on 28-Apr-2017 12:33

yes it is [mention:1ad0ccbca98f4ef2ac88293a48e6d67d:e9ed411860ed4f2ba0265705b8793d05]

I was just to sort the data in ASC / DESC  as the data looks cluttered

Posted by Mohammed Siraj on 02-May-2017 06:12

For a sorted view of an aggregate field value, you can consider using a TemplateField.

Within  the template field first sort the aggregate values.

Reference: www.w3schools.com/.../jsref_sort.asp

Then construct and return html markup as ordered/un-ordered list items i.e. <ul><li></ul> or just with seperators i.e. '|'.

Documentation Reference: documentation.progress.com/.../

This thread is closed